Page 1 of 1

What is the easiest way to migrate from VestaCP to myVesta

Posted: Fri Jul 03, 2020 4:06 pm
by bfcrew
Hi dpeca,

I have one server which still using VestaCP and I wanted to migrate to myVesta.
What is the easiest way to migrate if this server are using CentOS?
Or maybe should I just install myVesta from scratch and import the MySQL databases?

Thanks,
bfcrew

Re: What is the easiest way to migrate from VestaCP to myVesta

Posted: Fri Jul 03, 2020 4:28 pm
by myVesta
  • On CentOS, as root, run: v-backup-users
  • Copy files from /backup to some remote server
  • Install myVesta
  • Create /backup folder
  • Backups files from remote server copy to /backup folder on myVesta server
  • On myVesta server, as root, run: v-restore-user UsernameOfAccount UsernameOfAccount.2020-06-20_01-10-02.tar (of course use proper username and filename that exists)

Re: What is the easiest way to migrate from VestaCP to myVesta

Posted: Fri Jul 03, 2020 4:34 pm
by bfcrew
Much appreciated for the fast response.
Will migrate this tonight EDT when the traffic are low.

Re: What is the easiest way to migrate from VestaCP to myVesta

Posted: Fri Jul 03, 2020 4:41 pm
by myVesta
Advice: don't kill old server before you bring everything on new.
Or, if it's cloud, please make snapshot of old server before you kill it.

I saw situations where people got corruptred backups because there was no free space on old server to make full backup.
They didn't noticed that (they didn't check /usr/local/vesta/log/backup.log) and killed server with thinking that everything is in backup files.
They had supprise when they tried to restore them on new server :(

Re: What is the easiest way to migrate from VestaCP to myVesta

Posted: Fri Jul 03, 2020 4:47 pm
by bfcrew
Ah I see, thanks for the advice.
Yes it is in a cloud, I'll make a snapshot before doing this.