Log management #8294
Closed
felixschndr
started this conversation in
General
Log management
#8294
Replies: 1 comment 1 reply
-
The usual way to deal with that is But yeah, that would be just age-based and have its own rules, not keeping the logs in sync with actually existing archives. If you want better, write a script that uses |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering how you manage the logs of Borg and especially deleting them.
I have a script which runs daily and starts Borg. I keep the logs of this script in a folder which becomes pretty crowded now and already (after about a month) has about 300 MB in size. I was thinking about how and which logs to delete. I guess after pruning my archives I could iterate over all log files and check it its corresponding backup is still present. If not delete the log file since I don't need logs of backups which don't exists anymore. I guess I could name the logs exactly the same/pretty similar as the archives itself which would make matching pretty easy.
How do you do this? Do you just keep all the logs (how much space does that need)? Do you manually clean up every once in a while? Do you have some automation set up?
Beta Was this translation helpful? Give feedback.
All reactions