What is the easiest way to migrate from VestaCP to myVesta

Post Reply
bfcrew
Posts: 24
Joined: Mon Jun 22, 2020 3:41 pm
Been thanked: 2 times

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
User avatar
myVesta
Site Admin
Posts: 972
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

  • 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)
bfcrew
Posts: 24
Joined: Mon Jun 22, 2020 3:41 pm
Been thanked: 2 times

Much appreciated for the fast response.
Will migrate this tonight EDT when the traffic are low.
User avatar
myVesta
Site Admin
Posts: 972
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

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 :(
bfcrew
Posts: 24
Joined: Mon Jun 22, 2020 3:41 pm
Been thanked: 2 times

Ah I see, thanks for the advice.
Yes it is in a cloud, I'll make a snapshot before doing this.
Post Reply