Page 1 of 1

About restoring backups.

Posted: Sun Apr 10, 2016 11:19 am
by isalcedo
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.

Re: About restoring backups.

Posted: Mon Apr 11, 2016 6:44 am
by tjebbeke

Re: About restoring backups.

Posted: Mon Apr 11, 2016 9:28 am
by isalcedo
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.

Re: About restoring backups.

Posted: Mon Apr 11, 2016 12:06 pm
by tjebbeke
I think it overrides the user that you want to restore. But you can change the username and then restore the backup.

Re: About restoring backups.

Posted: Mon Apr 11, 2016 12:21 pm
by skurudo
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.

Re: About restoring backups.

Posted: Wed Apr 13, 2016 4:26 pm
by isalcedo
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.

Re: About restoring backups.

Posted: Wed Apr 13, 2016 9:26 pm
by isalcedo
Nginx is failing on restart if I restore the backup with a new user name.

Re: About restoring backups.

Posted: Wed Apr 13, 2016 9:45 pm
by isalcedo
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.