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
How to allow backup process only during the night?
- myVesta
- Site Admin
- Posts: 941
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 9 times
- Been thanked: 6 times
To allow backup only at night, in SSH, as root, run:
Backup proccess will stop somewhere after 07 AM, and will continue again after 00 AM next day.
If you need to run the backup manually during the day, run the following in your SSH:
Code: Select all
sed -i '/ALLOW_BACKUP_ANYTIME/d' /usr/local/vesta/conf/vesta.conf
If you need to run the backup manually during the day, run the following in your SSH:
Code: Select all
export ALLOW_BACKUP_ANYTIME='yes'
nice -n 19 ionice -c 3 v-backup-user someUsername