Page 1 of 1

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

Posted: Tue Dec 09, 2014 8:58 pm
by mehargags
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..

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

Posted: Tue Dec 09, 2014 10:06 pm
by imperio
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

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

Posted: Wed Dec 10, 2014 8:57 pm
by mehargags
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 ?

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

Posted: Wed Dec 10, 2014 9:03 pm
by imperio
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

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

Posted: Thu Dec 11, 2014 8:56 am
by sim
Do not use 0 for Sunday, doesn't seem to work. Use 7.