migrate-from-d7.sh 1.5 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 Users"
  14. drush mim d7_users --feedback="1000"
  15. echo " "
  16. drush mim d7_user_profile --feedback="1000"
  17. echo " "
  18. drush mim d7_uc_roles_license --update --feedback="200"
  19. sleep 5
  20. echo " "
  21. echo "Migrating Taxonomy"
  22. echo "Migrating thesaurus"
  23. drush mim d7_taxonomy_term_thesaurus --update --feedback="100"
  24. echo " "
  25. drush mim d7_taxonomy_term_thesaurus_i18n --update --feedback="100"
  26. sleep 5
  27. echo " "
  28. echo "Migrating tags"
  29. drush mim d7_taxonomy_term_tags --update --feedback="100"
  30. echo " "
  31. drush mim d7_taxonomy_term_tags_i18n --update --feedback="100"
  32. sleep 5
  33. echo " "
  34. echo "Migrating companies"
  35. drush mim d7_taxonomy_term_company --update --feedback="100"
  36. sleep 5
  37. echo " "
  38. echo "Migrating showroom"
  39. drush mim d7_taxonomy_term_showroom --update --feedback="100"
  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