pez-infra/ansible/scripts
Rasmus "Pez" Wejlgaard a40cd60d60
Some checks are pending
Deploy (on merge) / Discover hosts (push) Waiting to run
Deploy (on merge) / deploy (push) Blocked by required conditions
Terraform / Plan (push) Waiting to run
Terraform / Apply (push) Blocked by required conditions
backup: keep deleted/overwritten versions instead of mirroring them away (#120)
The nightly job runs 'rclone sync', which permanently deletes or overwrites
objects at the B2 destination. That means an accidental deletion or a
ransomware encryption on /hdd propagates straight to the backup on the next
run, leaving no clean copy.

Add --backup-dir so every superseded version is moved into a dated folder
under _versions/ rather than thrown away, and prune that folder after 30
days so it doesn't grow unbounded.
2026-06-05 21:23:04 +01:00
..
docker-log-cleanup.sh initial commit 2026-03-28 12:39:41 +00:00
hdd-backup.sh backup: keep deleted/overwritten versions instead of mirroring them away (#120) 2026-06-05 21:23:04 +01:00
movie-rename-fix.fish Capture london-b media stack and systemd services (#19) 2026-03-29 19:13:48 +01:00