Commit Graph

6 Commits

Author SHA1 Message Date
Nick Stokoe
5ca9ecfe2a templates/docker-compose/borgmatic/ - avoid losing STDERR lines
use stdbuf to change the buffereing mode to be linewise
2025-05-28 12:22:32 +01:00
Nick Stokoe
86653e5f79 borgmatic/backup.sh - fix printf bug
Interpolation can and does insert % placeholders into the printf
template text - although not valid ones as they're intended for
python.

So be more careful!  Put all inserted text into the parameters to
printf, or use echo.

Also, keep some of the alterations used whilst diagnosing this.
2023-04-15 22:36:57 +01:00
Nick Stokoe
bd3ad70af4 backup/backup.sh - only create backup whilst services down; check after 2023-04-13 08:02:08 +01:00
Nick Stokoe
88d875d638 backup.sh - log with timestamps 2023-04-12 20:20:34 +01:00
Nick Stokoe
c8b1d00230 templates/docker-compose/borgmatic/backup.sh - refinements
Trap failures, ensure cleanup.

Send an email even if we fail.

Break borg locks in cleanup.

Implement testing smtp emails.
2023-04-12 20:01:11 +01:00
Nick Stokoe
8d7163e7e6 requirements.yml,SETUP.md - prerequisites 2023-04-03 16:51:24 +01:00