Page 1 of 1

config file for backups

Posted: Mon Feb 06, 2023 11:01 am
by wah
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.

Re: config file for backups

Posted: Mon Feb 06, 2023 11:31 am
by myVesta
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

Re: config file for backups

Posted: Mon Feb 06, 2023 12:03 pm
by wah
OK, thanks for your tip. But this file (vesta.conf) is not overwritten during the myvesta update?

Re: config file for backups

Posted: Mon Feb 06, 2023 1:19 pm
by myVesta
Never, because it contains essential information about the server configuration.