Copy XMLDB from one server to another

G'day,

We run dev/test/production PP environments and would like to synchronize our test environment with that of our production environment in preparation for an upgrade and UAT.

The synchonization involves copying the XMLDB from production to test.

I was thinking of doing this in several steps:
1. Backup XMLDB on PROD (produces prod-xmldb.zip)
2. Backup XMLDB on TEST (produces test-xmldb.zip)
3. Copy prod-xmldb.zip to TEST
4. Stop TEST server
6. Delete /xmldb/Protocols .../Components .../Users
7. Unzip prod-xmldb.zip
8. Move Protocols, Components and Users to /xmldb/
9. Run DbUtil -s
10. Start TEST server

Is the above approach the correct process?

I'll also need to synchronize the PROD configuration -> TEST so any advice in this regard would also be appreciated.

Thanks,
Chris.
Answers 1
LM
LM 2016-06-15 Best Answer
Hello Chris,

The article T11-2014: AEP Server Migration provides a nice white paper on all the pieces you might consider moving to make these fully equivalent.  

The three folders you mention from the XMLDB folder: Users Components and Protocols are the key pieces for capturing the components and protocols saved on your server.  (note: omit the Objects folder from this source as it contains server-specific settings)

This will miss any protocols or components deployed as packages, and the white paper referenced above tells how to grab these as well from the apps/ folder. 

Once copied over you will want to rebuild the state files that acts effectively as a Table of Contents and is an index to this content. The DbUtil -s command is a reasonable approach, but it is usually used as an emergency recovery tool.  If the Pipeline Pilot installer is available I prefer the alternative approach of running this in repair/reinstall mode and it is what I recommend in the white paper.  

Best wishes,
Lynn Miller
BIOVIA Support