Niccolo
Niccolo

Reputation: 815

Drupal 7 need to reliably sync user & content data from production to development server

We want to set up a development server, initially identical to a production server, for the development of new features on a Drupal 7 site. We wish to periodically import all user data and user-generated content from the production to the development server. This data includes, but is not limited to:

All these may be new, or may be modifications of existing data.

Changes made on the development server may include any or all of:

Due to the wide variety of change types (and other reasons) we'd like to import the user and content data from the live site to the development site, then make the development site live. Somewhat similar to https://www.drupal.org/node/942540 but without the brute-force database drop/import.

Looking for a robust, simple method, it does not have to be elegant. Not a piecemeal/manual method where we have to keep track of every change item.

We have looked at many possibilities (starting with the Comparison of Content and User Import/Export Modules at https://groups.drupal.org/node/21338); here are some that appear partially useful but we have found to be inadequate.

Does anyone have experience of doing this, either using one or more Drupal tools, or some other selective synchronization/versioning system?

Upvotes: 1

Views: 720

Answers (1)

nizz0k
nizz0k

Reputation: 521

So, you should take a look at the Backup and Migrate module. Once your two environments are set up, you should be able to use the "Advanced" section to exclude all of the tables EXCEPT the tables that you're interested in synchronizing to be able to easily port the user info from one site to the other. This will not copy over any files uploaded the site by the user, but should meet the rest of your requirements. I learned about this when trying to find solutions to synchronize webform submissions between a production and development server.

Upvotes: 1

Related Questions