Import: Is table left intact when corresponding table was excluded while export?
-
Hi,
I have studied your documentation intensively, and found no explicit answer, could only speculate. I’d love to get an answer on this, before further considering it.
Scenario:
Production: Export everything.
Staging: Import everything. Various experiments.
Production: New posts + new comments keep coming in.
Staging: Export with DB table exclusions. Effectively only exporting “wp_options” which has all the theme config & customization stuff.My question:
When putting installer.php and archive.zip into the root of the wp-directory of the production installation (not a blank one as with a migration!) and then calling /installer.php in the browser, how does Duplicator proceed with the option “overwrite existing DB”:
1) Clears only those tables which where included in the archive and spares the other tables (wp_posts and wp_comments which have accumulated new content meanwhile).
2) Clear all tables from the DB, then refill it with the tables it finds in the archive.If it is #2, then I would need to block comments and new posts on the production server (frozen read only server) while the development on the staging server, or else loose this later. And need to include all tables both when migration from production to staging and again when pushing staging back to production again.
If it is #1, then this would be quite a suitable plugin for staging purposes for me. You could do theme/plugin/configuration changes but no content changes on the staging server, accumulate new content on the production server, and then carry over the staging changes to production.
I’d appreciate if I get an answer to this. Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Import: Is table left intact when corresponding table was excluded while export?’ is closed to new replies.