Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

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

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
maxlinux2000
Posts: 10
Joined: Sun Feb 01, 2015 2:09 pm

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

Post by maxlinux2000 » 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?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Migrating vestacp to new host...with databases too!
  • Quote

Post by tjebbeke » Tue Oct 20, 2015 11:26 am

Database is already in backup file.

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

mit19t
Posts: 5
Joined: Fri Dec 04, 2015 8:33 pm

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

Post by mit19t » Fri Dec 04, 2015 9:08 pm

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
Top

mit19t
Posts: 5
Joined: Fri Dec 04, 2015 8:33 pm

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

Post by mit19t » Fri Dec 04, 2015 9:49 pm

Fixed
I need to be in
sudo /usr/local/vesta/bin/v-restore-user admin admin.2015-06-13.tar

Regards
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password