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 Web Server
  • Search

About restoring backups.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
isalcedo
Posts: 7
Joined: Sun Apr 10, 2016 11:12 am

About restoring backups.
  • Quote

Post by isalcedo » Sun Apr 10, 2016 11:19 am

Hello, I hope you all are well.

The case: I have two VPS, one in DigitalOcean and other in Hudson Valley Host, the two are running great, actually, VestaCP is a great Solution. But my budged is getting low, I'm finding no customers (I'm web developer) and I need to merge the two servers in one.

I can just restore a backup from DigitalOcean server on Hudson Valley Host one and they will merge?, What I need to do in this case?

Thanks a lot.

Ignacio Salcedo
[email protected]
https://orucode.com

PD. Sorry for my bad english.
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: About restoring backups.
  • Quote

Post by tjebbeke » Mon Apr 11, 2016 6:44 am

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

isalcedo
Posts: 7
Joined: Sun Apr 10, 2016 11:12 am

Re: About restoring backups.
  • Quote

Post by isalcedo » Mon Apr 11, 2016 9:28 am

I have read that, but I don't know (and documentation is not explicit about it) if this will override my current user on HVH VPS or will merge.
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: About restoring backups.
  • Quote

Post by tjebbeke » Mon Apr 11, 2016 12:06 pm

I think it overrides the user that you want to restore. But you can change the username and then restore the backup.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: About restoring backups.
  • Quote

Post by skurudo » Mon Apr 11, 2016 12:21 pm

isalcedo wrote:I have read that, but I don't know (and documentation is not explicit about it) if this will override my current user on HVH VPS or will merge.
Do you have sites on one user? admin maybe?
Better do it manually, I think. It's less dangerous.
Top

isalcedo
Posts: 7
Joined: Sun Apr 10, 2016 11:12 am

Re: About restoring backups.
  • Quote

Post by isalcedo » Wed Apr 13, 2016 4:26 pm

tjebbeke wrote:I think it overrides the user that you want to restore. But you can change the username and then restore the backup.
I'll try this.
Top

isalcedo
Posts: 7
Joined: Sun Apr 10, 2016 11:12 am

Re: About restoring backups.
  • Quote

Post by isalcedo » Wed Apr 13, 2016 9:26 pm

Nginx is failing on restart if I restore the backup with a new user name.
Top

isalcedo
Posts: 7
Joined: Sun Apr 10, 2016 11:12 am

Re: About restoring backups.
  • Quote

Post by isalcedo » Wed Apr 13, 2016 9:45 pm

I solve it. This is how. (In my silly English).
  • * First I created the new user in the receiver server.
    * Restore the backup newuser.2016-04-13.tar; this time the process will fail, showing an nginx error about ";" or "}".
    * Go to VespaCP, select the new user and select rebuild, run the process, it will not fail.
    * After the rebuild, some files will be fixed, re-run the backup restoration process. It will not fail this time. It'll restore web, mail, db, everything without problems.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Web Server”



  • 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