• Joined on 2022-04-29
Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-05-09 18:06:13 +00:00
Send --stats output to healthchecks

#518 #512 #525

Other related recent issues that might find this custom script useful.

Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-05-09 13:37:41 +00:00
Send --stats output to healthchecks

The issue I was having with appending is that my cron job was creating log files named "backup-Mon", "backup-Tue", etc. that were overwritten the following week just by nature of having the same…

Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-05-03 00:17:38 +00:00
Send --stats output to healthchecks

Is it possible to have the logs not append to each other? My cron job automatically rolls the log files weekly, but it doesn't work if the logs are appended instead of overwritten.

borgmatic…

Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-04-29 19:15:44 +00:00
Send --stats output to healthchecks

The only implementation thing I could think of would be for you to set the log level to DEBUG in the underlying Borg command, then filter the output to the various log backends, maybe per the…

Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-04-29 19:11:51 +00:00
Send --stats output to healthchecks

It seems like the Borgmatic -> Borg log levels are generally:

Level -1: Nothing Level 0: WARNING, ERROR, CRITCAL Level 1: Level 0 + INFO Level 2: Level 1 + DEBUG

But some stuff like stats…

Sdub76 commented on issue borgmatic-collective/borgmatic#524 2022-04-29 18:40:08 +00:00
Send --stats output to healthchecks

I wasn't aware of that... I had just been piping the shell output to a log file. After playing with it I still have a few questions.

I like to use the --files option on for logging so I can…

Sdub76 opened issue borgmatic-collective/borgmatic#524 2022-04-29 16:27:21 +00:00
Send summary to healthchecks