Migrating vestacp to new host...with databases too!
Posted: Tue Oct 20, 2015 9:39 am
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?