• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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