Add borg backup check
This commit is contained in:
parent
5384cc05cd
commit
f713215da2
6 changed files with 334 additions and 7 deletions
|
|
@ -275,6 +275,12 @@
|
|||
enableNotifications = true;
|
||||
gotifyUrl = "https://notify.yanlincs.com";
|
||||
gotifyToken = "Ac9qKFH5cA.7Yly";
|
||||
|
||||
# Integrity check configuration
|
||||
enableIntegrityCheck = true;
|
||||
integrityCheckFrequency = "Sun *-*-* 05:00:00"; # Weekly on Sunday at 5 AM (offset from VPS)
|
||||
integrityCheckDepth = "archives"; # Check repository and archive metadata
|
||||
integrityCheckLastArchives = 2; # Check last 2 archives if using data verification (HS has larger data)
|
||||
|
||||
preHook = ''
|
||||
echo "$(date): Starting Borg backup of ${config.networking.hostName}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue