5

I have been tasked with a major upgrade from D5 to D6. The upgrade is now complete and fully themed on my development server. The current production site is very busy, with dozens of nodes being added on a daily basis. I need to somehow sync the content from the D5 site to the D6 site, and am wondering if there is any modules to assist or recommended way of doing this? I just need to retrieve the content and Ubercart orders from the last month and port them to the D6 site. Thanks for any help!!

1

1 Answer 1

6
+25

I have not found a better alternative to migrate module till date and I have done lots of migration including ubercart order migration. It has served me well for:

  • ASP.Net (MSSQL server) -> Drupal migration
  • D6 -> D7 Migration
  • Rails (MySQL) -> Drupal Migration

There are tons of other modules like node_export, views bonus pack, uuid features, deploy that will let you export content out of drupal site but nothing scales better than migrate module. Having said that, its some effort as you need to write your migration classes, but it comes with excellent features like:

  • Incremental Migration ( you can test your migration class, with small subset of content)
  • Rollback ( In case you realize you missed something )
  • Solid drush interface.

Also, once you get a hang of it you keep appreciating the fact that it always work. It knows what has been imported, it reports on warnings during migration, gives you a status update on your migration. Can't recommend it enough!! and the best part is minimum downtime, you keep syncing content till the last moment.

4
  • Unfortunately I have found that the migrate module isn't well suited for some of the migrations I have done and I ended up writing my own migration scripts that were almost as complicated. I have tried using it on another migration and it worked for simple things like initial imports. But doing things like added multiple file entries or doing a lot of file detecting and data manipulation it seems to fall short. Though maybe I just need to learn more about using the migrate module. That said I did end up contributing some patches to it that are now in core.
    – Patrick
    Jan 20, 2012 at 19:38
  • What kind of migrations do you think it can't handle?
    – Dipen
    Jan 22, 2012 at 3:27
  • Multi-stage multi-file migrations. It struggles with. It got me most of the way with a two part file to node migration. When I had to attach a second file to the migrated nodes automatically it started the process and then kept dying on me. I ended up writing a free standing script to finish the job.
    – Patrick
    Jan 27, 2012 at 5:07
  • As you say, Migrate takes some effort to use - can you recommend any tutorials or examples of employing it for typical use cases, like the one I describe in drupal.stackexchange.com/questions/48048/… ?
    – tog22
    Nov 7, 2012 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.