migrate-from-d7.sh 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #! /bin/bash
  2. echo "* * * * * * * * * * * * * * * *"
  3. echo "* *"
  4. echo "* Migration *"
  5. echo "* *"
  6. echo "* * * * * * * * * * * * * * * *"
  7. # drush ms --group=d7_materio
  8. echo " "
  9. echo "Migrating Files"
  10. drush mim d7_allpublicfiles --feedback="1000"
  11. sleep 5
  12. echo " "
  13. echo "Migrating Users"
  14. drush mim d7_users --feedback="1000"
  15. echo " "
  16. drush mim d7_user_profile --feedback="1000"
  17. sleep 5
  18. echo " "
  19. echo "Migrating Taxonomy"
  20. echo "Migrating thesaurus"
  21. drush mim d7_taxonomy_term_thesaurus --update --feedback="100"
  22. echo " "
  23. drush mim d7_taxonomy_term_thesaurus_i18n --update --feedback="100"
  24. sleep 5
  25. echo " "
  26. echo "Migrating tags"
  27. drush mim d7_taxonomy_term_tags --update --feedback="100"
  28. echo " "
  29. drush mim d7_taxonomy_term_tags_i18n --update --feedback="100"
  30. sleep 5
  31. echo " "
  32. echo "Migrating companies"
  33. drush mim d7_taxonomy_term_company --update --feedback="100"
  34. sleep 5
  35. echo " "
  36. echo "Migrating showroom"
  37. drush mim d7_taxonomy_term_showroom --update --feedback="100"
  38. sleep 5
  39. echo " "
  40. echo "Migrating Nodes"
  41. echo "Migrating Materials"
  42. drush mim d7_node_materiau --feedback="1000"
  43. echo " "
  44. drush mim d7_node_materiau_i18n --feedback="1000"
  45. sleep 5
  46. echo " "
  47. echo "Migrating breves"
  48. drush mim d7_node_article --feedback="100"
  49. echo " "
  50. drush mim d7_node_article_i18n --feedback="100"
  51. sleep 5
  52. echo " "
  53. echo "Migrating simplenews"
  54. drush mim d7_simplenews_nodes --feedback="200"
  55. drush mim d7_simplenews_subscribers --update --feedback="1000"
  56. sleep 5