Episode 7: nightly restic backup to S3 with consistent dumps, heartbeat, and a restore script for a fresh box

Claude-Session: https://claude.ai/code/session_01Y1BTehJjJ4Chr6YscVRXmn
This commit is contained in:
Maximilian Grimm 2026-09-02 19:51:35 +02:00
parent 80d5b00b67
commit cf374770c4
7 changed files with 444 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[Unit]
Description=Run the selfhostedops backup every night at 03:00 Europe/Berlin
[Timer]
OnCalendar=*-*-* 03:00:00 Europe/Berlin
# If the box was off at 03:00, run as soon as it is back.
Persistent=true
[Install]
WantedBy=timers.target