config file for backups

Post Reply
wah
Posts: 6
Joined: Thu Dec 29, 2022 4:26 pm

Hello.

I'm missing backup settings, for example in the file /usr/local/vesta/conf/backup.conf
There it would be possible to specify some parameters from main.sh for example:
BACKUP_GZIP=9
BACKUP_DISK_LIMIT=95
BACKUP_LA_LIMIT=5

I have to change the variable "la" in the function wait_for_backup_if_it_is_not_time_for_backup (in main.sh ) because lxc/lxd is installed on our VPS, and the load average parameter is common to all containers. It is always more than 5.

Thank you very much.

Tags:
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

i think you can override those variables in /usr/local/vesta/conf/vesta.conf
because we include that file as last - https://github.com/myvesta/vesta/blob/m ... er#L19-L23
wah
Posts: 6
Joined: Thu Dec 29, 2022 4:26 pm

OK, thanks for your tip. But this file (vesta.conf) is not overwritten during the myvesta update?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Never, because it contains essential information about the server configuration.
Post Reply