Add borg backup check

This commit is contained in:
Yan Lin 2025-09-10 13:32:15 +02:00
parent 5384cc05cd
commit f713215da2
6 changed files with 334 additions and 7 deletions

View file

@ -121,6 +121,12 @@
gotifyUrl = "https://notify.yanlincs.com";
gotifyToken = "AaiBamxPAhatNrO";
# Integrity check configuration
enableIntegrityCheck = true;
integrityCheckFrequency = "Sun *-*-* 04:00:00"; # Weekly on Sunday at 4 AM
integrityCheckDepth = "archives"; # Check repository and archive metadata
integrityCheckLastArchives = 3; # Check last 3 archives if using data verification
preHook = ''
echo "$(date): Starting Borg backup of ${config.networking.hostName}"
'';