materio-d9/migrate-from-d7.sh

73 lines
1.7 KiB
Bash
Raw Normal View History

#! /bin/bash
2019-06-26 13:17:31 +02:00
export PATH=$Path:/bin:/usr/bin:/usr/local/bin
DATE=`date +%d-%m-%y/%H:%M:%S`
echo -e "* * * * * * * * * * * * * * * *"
echo -e "* *"
echo -e "* Migration *"
echo -e "* *"
echo -e "* $DATE *"
echo -e "* *"
echo -e "* * * * * * * * * * * * * * * *"
echo " "
echo "Migrating Files"
2019-02-05 21:43:05 +01:00
drush mim d7_allpublicfiles --feedback="1000"
2019-02-13 20:01:43 +01:00
sleep 5
echo " "
echo "Migrating Taxonomy"
echo "Migrating thesaurus"
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_thesaurus --update --feedback="100"
2019-02-13 20:10:40 +01:00
echo " "
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_thesaurus_i18n --update --feedback="100"
2019-02-13 20:01:43 +01:00
sleep 5
echo " "
echo "Migrating tags"
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_tags --update --feedback="100"
2019-02-13 20:10:40 +01:00
echo " "
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_tags_i18n --update --feedback="100"
2019-02-13 20:01:43 +01:00
sleep 5
echo " "
echo "Migrating companies"
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_company --update --feedback="100"
2019-02-13 20:01:43 +01:00
sleep 5
echo " "
echo "Migrating showroom"
2019-02-05 21:43:05 +01:00
drush mim d7_taxonomy_term_showroom --update --feedback="100"
2019-02-13 20:01:43 +01:00
sleep 5
2019-04-11 19:01:43 +02:00
echo " "
echo "Migrating Users"
2019-04-12 01:06:54 +02:00
drush mim d7_users --update --feedback="1000"
2019-04-11 19:01:43 +02:00
echo " "
drush mim d7_user_profile --feedback="1000"
echo " "
drush mim d7_uc_roles_license --update --feedback="200"
sleep 5
echo " "
echo "Migrating Nodes"
echo "Migrating Materials"
2019-02-05 21:43:05 +01:00
drush mim d7_node_materiau --feedback="1000"
2019-02-13 20:10:40 +01:00
echo " "
2019-02-05 21:43:05 +01:00
drush mim d7_node_materiau_i18n --feedback="1000"
2019-02-13 20:01:43 +01:00
sleep 5
echo " "
echo "Migrating breves"
drush mim d7_node_article --feedback="100"
2019-02-13 20:10:40 +01:00
echo " "
2019-02-13 20:01:43 +01:00
drush mim d7_node_article_i18n --feedback="100"
sleep 5
echo " "
echo "Migrating simplenews"
drush mim d7_simplenews_nodes --feedback="200"
2019-02-20 15:55:53 +01:00
drush mim d7_simplenews_subscribers --update --feedback="1000"
sleep 5