Open olberger opened 1 month ago
AFAICS, /var/log/backup_borg.err is appended to in /etc/yunohost/hooks.d/backup_method/05-borg_app, but keeps growing over time.
/var/log/backup_borg.err
/etc/yunohost/hooks.d/backup_method/05-borg_app
Instead, it should be rotated as a typical log.
However, I couldn't see anything in /etc/logrotate.d/ which could apply...
/etc/logrotate.d/
Of course, this can lead to nasty issues, like when file system is full :-/
Hope this helps.
https://yunohost.org/oc/packaging_apps_helpers#logrotate probably applies here. Hth,
AFAIU, there are also plenty of files in /var/log/borg/ (.log and .err) that also need to be rotated/cleaned up
/var/log/borg/
.log
.err
AFAICS,
/var/log/backup_borg.err
is appended to in/etc/yunohost/hooks.d/backup_method/05-borg_app
, but keeps growing over time.Instead, it should be rotated as a typical log.
However, I couldn't see anything in
/etc/logrotate.d/
which could apply...Of course, this can lead to nasty issues, like when file system is full :-/
Hope this helps.