Page 1 of 1
Different backup for different domain?
Posted: Sat Apr 01, 2017 10:33 am
by FireFoxII
Hi and sorry for my english...
As topic, is possibile to create different backup for different domain of an account?
Now if in an account there is, for example, a problem, I have to restore all domain of an account...
Thanks
Re: Different backup for different domain?
Posted: Thu Apr 13, 2017 1:22 am
by FireFoxII
Nothing?
Re: Different backup for different domain?
Posted: Fri Apr 14, 2017 12:50 pm
by tjebbeke
This is not possible in vestaCP.
Re: Different backup for different domain?
Posted: Fri Apr 14, 2017 1:31 pm
by skurudo
FireFoxII wrote:
As topic, is possibile to create different backup for different domain of an account?
By default, no
But you can you some other/additional backup scripts..
FireFoxII wrote:Now if in an account there is, for example, a problem, I have to restore all domain of an account...
No, don't need to restore all domain.
v-restore-user command have option:
Code: Select all
USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
Something like this:
Code: Select all
/usr/local/vesta/bin/v-restore-user admin admin.2017-04-14.tar 'domain.ru' 'no' 'no' 'no' 'no' 'no' yes >> /usr/local/vesta/log/restore.log 2>&1
or via GUI -> configure restore settings.
Re: Different backup for different domain?
Posted: Fri Jan 05, 2018 10:42 am
by rhyker2u
thanks a million for this example @skurudo ! You might want to include some of those examples in
https://vestacp.com/docs/cli/ .. as the syntax didn't make much sense to me (hence I never used it before till now). As trying to restore a particular DB backup with phpmyadmin /
adminer / mysql cli didn't work for me.
*edit* oh ... upz. See:
http://vestacp.com/docs/#how-to-migrate ... her-server ... however still would like to have the example of the domain with DB-only to be added if that's possible? Thus (if I understood correctly):
Code: Select all
/usr/local/vesta/bin/v-restore-user admin admin.201x-xx-xx.tar 'example.com' 'no' 'no' 'yes' 'no' 'no' yes >> /usr/local/vesta/log/restore.log 2>&1