Hello,

I'm making some development with Drupal 5.16 on a machine and want to backup and import on another machine where my application is already installed with datas.

What is the best solution to backup content (workflow, workflow translation, users, roles, content) and import it without deleting data to another environment ?

Regards.

Comments

chrisshattuck’s picture

Hi there,

Merging two Drupal sites can be really difficult, but how difficult depends on what you need to transfer. If you have unique data on both installs, then one problem is that there will be duplicate entries for users, nodes, roles, etc. This problem is a pretty big one since there's a lot of data that cross-references user and node ids.

My first suggestion would be to assess how important the data is on each site. If it's just test data or the like and it's not so important, then scratch it, it's not worth the effort. If there's just a few items, then recreate them manually on the new site. If the data is a big deal, then explore creating - or hiring someone to create - an automation script to port data from one site to another.

If you can't get away from having to merge two Drupal sites in your workflow, the best solutions are available only if you plan for it from the start. There's several techniques out there, but they require a very specific setup.

Sorry I can't bear better news, but this is one of those hard lessons you learn at some point when working with Drupal.

Cheers,
Chris

Build a Module.com - The definitive video guide to Drupal development

Learn virtually any aspect of Drupal on BuildAModule, where I've recorded over 2200 video tutorials.

arhak’s picture

the one I think will fit your needs: deploy
BUT is under development, has no current release, not even beta, and by now it seems to be just for D6

to migrate configurations and other development settings: autopilot (only for D5)

but if you might adapt your workflow to something like backup_migrate