Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/var/log/backup_borg.err should be rotated #158

Open
olberger opened this issue May 29, 2024 · 2 comments
Open

/var/log/backup_borg.err should be rotated #158

olberger opened this issue May 29, 2024 · 2 comments

Comments

@olberger
Copy link
Contributor

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.

@olberger
Copy link
Contributor Author

https://yunohost.org/oc/packaging_apps_helpers#logrotate probably applies here. Hth,

@olberger
Copy link
Contributor Author

AFAIU, there are also plenty of files in /var/log/borg/ (.log and .err) that also need to be rotated/cleaned up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant