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

Re-schedule Backup to once every 3 Days + Selective Baclup

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re-schedule Backup to once every 3 Days + Selective Baclup
  • Quote

Post by mehargags » Tue Dec 09, 2014 8:58 pm

Hi,
I asked this in the other thread, but it seems "cold" so I ask here again.

1. Can I edit the Cron or make a new Cron which Schedules a FULL backup every Friday! That's one per week only

2. Can I setup Backup for individual sites (domains) rather than a BIG full backup ?
I ask this because I host some sites on a fairly low-end box with 2GB of RAM, pretty optimized! However Archiving and more often compression while the "BIG Single Backup" can be demanding on VPS, and may hit some beancounter limits.
Deviding this backup into 5-6 "Sets" will ensure the Tar+Gz finish timely, and will also help upload the backup to remote FTP in small chunks not choking the bandwidth for long.

Hope my intention is clear and someone can suggest this feature to make this awsome CP more wonderful.
Thanks..
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Re-schedule Backup to once every 3 Days + Selective Bacl
  • Quote

Post by imperio » Tue Dec 09, 2014 10:06 pm

1. You should change "Day of week"

Code: Select all

Minute
10
Hour
05
Day
*
Month
*
Day of week
5
Command	
sudo /usr/local/vesta/bin/v-backup-users
2. No, you cant
You can add any domain in backup exclusions
BACKUP > find button [ backup exclusions ]
Also you can disable global cron backup under admin and add command for each user

Code: Select all

sudo /usr/local/vesta/bin/v-backup-user test
under user test
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Re-schedule Backup to once every 3 Days + Selective Bacl
  • Quote

Post by mehargags » Wed Dec 10, 2014 8:57 pm

Thanks imperio....

Can you explain if */5 under v-update-sys-rrd means to RUN every 5 minutes ? Can(should) I set it to once a week ?

is there a way I can actually edit the CRON file ?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Re-schedule Backup to once every 3 Days + Selective Bacl
  • Quote

Post by imperio » Wed Dec 10, 2014 9:03 pm

Can you explain if */5 under v-update-sys-rrd means to RUN every 5 minutes ?
Yes
is there a way I can actually edit the CRON file ?
/usr/local/vesta/data/users/admin/cron.conf
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Re-schedule Backup to once every 3 Days + Selective Bacl
  • Quote

Post by sim » Thu Dec 11, 2014 8:56 am

Do not use 0 for Sunday, doesn't seem to work. Use 7.
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