Migrate/move VestaCP Installation with files

I’ve moved VestaCP installations so fast that by the time a customer started the checkout page in Sydney, they submitted their order to Amsterdam.

This is best achieved with Cloudflare as there will be absolutely no downtime, whatsoever.

First make sure there is a new VestaCP installation on your new server. If you have a busy website, having the  new server ready to go will mean you will have less than 10 seconds of downtime.

Alternatively, you may be adding an old VestaCP installation to another VestaCP installation (maybe you realised how powerful & resource un-intensive VestaCP is, especially without exim + dovecot + spamassassin + clamav)

Will you be using admin as the account on the new server?

Create a fresh backup on the OLD SERVER

SSH into the server you want to close down and run

When it’s done, you’ll see the backup timestamp and file size.

v-backup-user-admin

Note the DATE of the backup above.

Open a new terminal and SSH into the NEW SERVER that you want to move VestaCP to.

Run following command

Input the password of the old server and it will securely copy the Old Vest to the New Vesta backup folder.

Once it’s downloaded, restore the user called admin

Your New Server will have been migrated!