add syncthing tmp file to borg exclude

This commit is contained in:
Yan Lin 2026-02-15 09:40:41 +01:00
parent 3b55266648
commit dee1cdc12a

View file

@ -10,7 +10,8 @@ let
sshCommand = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=60 -o ServerAliveCountMax=240";
passphraseFile = "/etc/borg-passphrase";
excludePatterns = [
"**/.stversions/" # Syncthing versioning folders
"**/.stversions/"
"**/.syncthing.*.tmp"
];
excludeArgs = concatMapStrings (pattern: " --exclude '${pattern}'") excludePatterns;
ntfyUrl = "ntfy.sh/yanlincs-homelab";