Page 1 of 1

Migrating vestacp to new host...with databases too!

Posted: Tue Oct 20, 2015 9:39 am
by maxlinux2000
Hi all,

I want to migrate all my sites to a new host. So I following the procedure in the documentation here:
http://spectrohost.com/account/knowledg ... rver-.html

But.. and the databases? I have 20 databases in mysql.

Can I dump all databases in the old host and restore in the new host in a siongle command?

something like:
Old Host
$ mysqldump -u root -p --all-databases > alldb.sql


new host:
mysql -u root -p < alldb.sql

??

Or with that, I will destroy the new installation of vestacp?

Re: Migrating vestacp to new host...with databases too!

Posted: Tue Oct 20, 2015 11:26 am
by tjebbeke
Database is already in backup file.

http://vestacp.com/docs/#how-to-migrate ... her-server

Re: Migrating vestacp to new host...with databases too!

Posted: Fri Dec 04, 2015 9:08 pm
by mit19t
I have this error,
-bash: v-restore-user: no se encontrĂ³ la orden (Dont find the order)

Actually im in /home/backup/

I need to go other directory?

Regards

Re: Migrating vestacp to new host...with databases too!

Posted: Fri Dec 04, 2015 9:49 pm
by mit19t
Fixed
I need to be in
sudo /usr/local/vesta/bin/v-restore-user admin admin.2015-06-13.tar

Regards