We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to copy config to the new panel?
How to copy config to the new panel?
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)
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)
-
- Posts: 31
- Joined: Wed Jul 13, 2016 1:35 pm
Re: How to copy config to the new panel?
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
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
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: How to copy config to the new panel?
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
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