Moving existing Pyramid 2018 setup to new server
Hi, we'd like to change the server on which Pyramid is installed. What would be the best path to migrate our content to a new machine? Actual setup is using a local Postgre database. I guess there are considerations regarding the licences that were issued to the old machine. Should we "Deactivate" the server first?
Thanks for your help.
Francois
2 replies
-
With some more research in the admin guides, I found two articles that will probably help me with this:
- Deactivation and Changing Licensed Servers
- Application Recovery
If there's more I should know, please feel free to point it out!
Francois
-
Hi Francois,
The first thing would be as your said the Deactivation process as described here
If you wanted to also migrate the database, you would need to follow this article here as you are using the internal PostgreSQL option. However you would do the restore on the newly installed Pyramid server. If you do not have a lot of content you could also just export and import your content to the new install before you deactivate it. But then you would need to re-setup all the users and other settings again. In the Pyramid repository database remove all the "old" server entries in the table "server_instances" and restart all Pyramid services.
If you're using an IMDB (In-Memory DB), backup the 'imdata' folder to restore to the new server
The default location is: "C:\Program Files\Pyramid 2018\repository\imdata"- If you're using publications, backup the below folder to have the ability to review and open published publications on the new server:
"C:\Program Files\Pyramid 2018\repository\general" - Copy the machine key from config.ini
(C:\Program Files\Pyramid 2018\config.ini).
to copy the machine key to the config.ini on the new server * do this before editing the table "server_instances" and restarting the services as explained above.
look for:
[machine]
installType=1
host=myPyramidserver.com
machineKey=0e93adc283152805cceb676d9a38ec1e
- If you're using publications, backup the below folder to have the ability to review and open published publications on the new server: