About restoring backups.
About restoring backups.
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.
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: About restoring backups.
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.
Do you have sites on one user? admin maybe?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.
Better do it manually, I think. It's less dangerous.
Re: About restoring backups.
I'll try this.tjebbeke wrote: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.
Nginx is failing on restart if I restore the backup with a new user name.
Re: About restoring backups.
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.