backup freshness monitoring: fix shell script
backup freshness monitoring: fix shell script: a task in smol-software-harbor (Harbor dataset). The backup monitor check-backups.sh picks the "newest" backup by file modification time, which is wrong after backups are restored or copied (the test touches an old timestamp onto the newest file). The…
The task
The backup monitor `check-backups.sh` picks the "newest" backup by file modification time, which is wrong after backups are restored or copied (the test touches an old timestamp onto the newest file). The newest backup is the one with the latest date in its name (`db-YYYYMMDD.sql.gz`). Fix the script and run `bash…
Part of efederici/smol-software-harbor.