check-freshness.sh: exit 1 si el último backup tiene más de 26h o si no hay backups con recipient configurado. Verificado en los 4 estados. No tiene timer propio (no autorizado).
check-freshness.sh: exit 1 si el último backup tiene más de 26h o si no hay backups con recipient configurado. Verificado en los 4 estados. No tiene timer propio (no autorizado).
/usr/local/bin/cayce-check-backup-freshness (from
deploy/backup/check-freshness.sh): exits 1 if the newest
/var/backups/cayce/YYYY-MM-DD/ dir has mtime older than 26h, or if no
backups exist while the age recipient IS configured (backups expected).
Info-exit-0 when backups have never been configured. Not attached to a
timer (only cayce-backup.timer was authorized); documented for manual
or cron use.
Verified: fresh dir => OK 0h exit 0; dir with 2-day mtime => ALERT 48h
exit 1; no-dir + recipient => ALERT; no-dir + no-recipient => INFO.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
check-freshness.sh: exit 1 si el último backup tiene más de 26h o si no hay backups con recipient configurado. Verificado en los 4 estados. No tiene timer propio (no autorizado).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.