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 General Discussion
  • Search

Different backup for different domain?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
FireFoxII
Posts: 7
Joined: Tue Nov 17, 2015 10:15 am

Different backup for different domain?
  • Quote

Post by FireFoxII » Sat Apr 01, 2017 10:33 am

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
Last edited by FireFoxII on Thu Apr 13, 2017 1:23 am, edited 1 time in total.
Top

FireFoxII
Posts: 7
Joined: Tue Nov 17, 2015 10:15 am

Re: Different backup for different domain?
  • Quote

Post by FireFoxII » Thu Apr 13, 2017 1:22 am

Nothing?
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: Different backup for different domain?
  • Quote

Post by tjebbeke » Fri Apr 14, 2017 12:50 pm

This is not possible in vestaCP.
Top

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

Re: Different backup for different domain?
  • Quote

Post by skurudo » Fri Apr 14, 2017 1:31 pm

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.
Top

rhyker2u
Posts: 86
Joined: Thu Jan 19, 2017 11:46 am
Contact:
Contact rhyker2u
Website

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Different backup for different domain?
  • Quote

Post by rhyker2u » Fri Jan 05, 2018 10:42 am

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
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • 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