add syncthing tmp file to borg exclude
This commit is contained in:
parent
3b55266648
commit
dee1cdc12a
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ let
|
||||||
sshCommand = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=60 -o ServerAliveCountMax=240";
|
sshCommand = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=60 -o ServerAliveCountMax=240";
|
||||||
passphraseFile = "/etc/borg-passphrase";
|
passphraseFile = "/etc/borg-passphrase";
|
||||||
excludePatterns = [
|
excludePatterns = [
|
||||||
"**/.stversions/" # Syncthing versioning folders
|
"**/.stversions/"
|
||||||
|
"**/.syncthing.*.tmp"
|
||||||
];
|
];
|
||||||
excludeArgs = concatMapStrings (pattern: " --exclude '${pattern}'") excludePatterns;
|
excludeArgs = concatMapStrings (pattern: " --exclude '${pattern}'") excludePatterns;
|
||||||
ntfyUrl = "ntfy.sh/yanlincs-homelab";
|
ntfyUrl = "ntfy.sh/yanlincs-homelab";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue