Migrating vestacp to new host...with databases too!
-
- Posts: 10
- Joined: Sun Feb 01, 2015 2:09 pm
Migrating vestacp to new host...with databases too!
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?
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!
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
-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!
Fixed
I need to be in
sudo /usr/local/vesta/bin/v-restore-user admin admin.2015-06-13.tar
Regards
I need to be in
sudo /usr/local/vesta/bin/v-restore-user admin admin.2015-06-13.tar
Regards