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

How to copy config to the new panel?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
mpjoke
Posts: 4
Joined: Wed Oct 11, 2017 7:22 am

How to copy config to the new panel?
  • Quote

Post by mpjoke » Wed Oct 11, 2017 7:29 am

Hello. I am using Debain8. Some time ago OS has been crashed. I use another HDD drive and install Debain8 and VestaCP.
I can copy mysql files to new server, but i cant see my database files in Vesta. Now i should make the same structure and then replace database files.
How to copy all settings from old panel to new panel? (not from panel)
Top

DarthVader
Posts: 31
Joined: Wed Jul 13, 2016 1:35 pm

Re: How to copy config to the new panel?
  • Quote

Post by DarthVader » Wed Oct 11, 2017 9:18 am

Hi
You have several option.

1) Try user vesta backup. Create backup of users on old server and restore on new.
2) You can move /usr/local/vesta/data/users (without admin folder) on new machine and call v-rebuild-user (/usr/local/vesta/bin/)
In this case, you must manual moving databases between servers with eg. mysqldump
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: How to copy config to the new panel?
  • Quote

Post by mehargags » Wed Oct 11, 2017 12:12 pm

You will always have problems if you move MySQL storage like this. Best is as suggested, use VestaCP Backup

You can use mysqldump command to dump your db's.

There is a beautiful Customize Backup Script by Dpecca which may come in handy. you will still need to configure Users/DBs again in VestaCP but this option is more for clean installers who want to reconfigure their server
Top


Post Reply
  • Print view

3 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