migrate-from-d7.sh 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 Taxonomy"
  14. echo "Migrating thesaurus"
  15. drush mim d7_taxonomy_term_thesaurus --update --feedback="100"
  16. echo " "
  17. drush mim d7_taxonomy_term_thesaurus_i18n --update --feedback="100"
  18. sleep 5
  19. echo " "
  20. echo "Migrating tags"
  21. drush mim d7_taxonomy_term_tags --update --feedback="100"
  22. echo " "
  23. drush mim d7_taxonomy_term_tags_i18n --update --feedback="100"
  24. sleep 5
  25. echo " "
  26. echo "Migrating companies"
  27. drush mim d7_taxonomy_term_company --update --feedback="100"
  28. sleep 5
  29. echo " "
  30. echo "Migrating showroom"
  31. drush mim d7_taxonomy_term_showroom --update --feedback="100"
  32. sleep 5
  33. echo " "
  34. echo "Migrating Users"
  35. drush mim d7_users --update --feedback="1000"
  36. echo " "
  37. drush mim d7_user_profile --feedback="1000"
  38. echo " "
  39. drush mim d7_uc_roles_license --update --feedback="200"
  40. sleep 5
  41. echo " "
  42. echo "Migrating Nodes"
  43. echo "Migrating Materials"
  44. drush mim d7_node_materiau --feedback="1000"
  45. echo " "
  46. drush mim d7_node_materiau_i18n --feedback="1000"
  47. sleep 5
  48. echo " "
  49. echo "Migrating breves"
  50. drush mim d7_node_article --feedback="100"
  51. echo " "
  52. drush mim d7_node_article_i18n --feedback="100"
  53. sleep 5
  54. echo " "
  55. echo "Migrating simplenews"
  56. drush mim d7_simplenews_nodes --feedback="200"
  57. drush mim d7_simplenews_subscribers --update --feedback="1000"
  58. sleep 5