• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Backup/Restore from one server to another

A

Alasdairrr

Guest
Hi Everyone,

We're planning a migration from a Plesk server in one datacenter, to a Plesk server in another datacenter.

To minimise downtime, we plan to move groups of clients, say 20 - 50, from one server to the other. We're handling the DNS on a separate server, and have set the TTL's to 60, so we don't need to worry about that aspect.

What I was planning on doing, is to run the psadump utility for X number of clients, move the dump over, and do a restore, then update the DNS. Requests should then go to the new server. Repeat until all clients are moved.

While for psadump you can disable it starting/stopping services, there seems to be no way to stop psarestore stopping/starting services. Obviously we don't want any downtime, so this seems unacceptable, as every time we perform a restore, Apache, MySQL, etc, will be unavailable for the duration.

Is there any way to stop psarestore stopping services?

If not, can anyone recommend another method of migrating the clients across?

Many thanks.
 
Not to worry - I found a (crude) way to stop the starting and stopping of services during a restore.

I simply made a copy of psarestore, and removed the offending lines from the code (It's a basic Perl script).
 
If you have two seperate servers then you can leave the first once running while the other is restoring the dump file. The only thing is that you might lose any changes in data during the restore time. Which can actually take quite a long time.
 
Back
Top