How to allow backup process only during the night?

Post Reply
azlanirda
Posts: 20
Joined: Mon Feb 01, 2021 12:30 pm
How to allow backup process only during the night?

Post by azlanirda »

Hello dpeca

how to configure this one...

Backup will run with lowest priority (to avoid load on server), and can be configured to run only by night (and to stop on the morning and continue next night)

at this moment, myvesta is running backup at lowest priority... but how to configure the second part...

and also, what you suggest.. backup weekly.. as i see from the default setup, you set it to sub on saturday only (for the backup)...

thank you in advanced...

- Azlan

User avatar
dpeca
Site Admin
Posts: 411
Joined: Fri Jun 19, 2020 9:59 am
Re: configure backup

Post by dpeca »

To allow backup only at night, in SSH, as root, run:

Code: Select all

sed -i '/ALLOW_BACKUP_ANYTIME/d' /usr/local/vesta/conf/vesta.conf
Backup proccess will stop somewhere after 07 AM, and will continue again after 00 AM next day.

User avatar
dpeca
Site Admin
Posts: 411
Joined: Fri Jun 19, 2020 9:59 am
Re: configure backup

Post by dpeca »

azlanirda wrote:
Wed Feb 10, 2021 4:50 am
and also, what you suggest.. backup weekly.. as i see from the default setup, you set it to sub on saturday only (for the backup)...
you can easily change that day, or put * for everyday.

azlanirda
Posts: 20
Joined: Mon Feb 01, 2021 12:30 pm
Re: configure backup

Post by azlanirda »

okay dpeca... thanks


Post Reply