diff options
Diffstat (limited to '.mac/Library/LaunchAgents/me.crute.ResticBackup.plist')
-rw-r--r-- | .mac/Library/LaunchAgents/me.crute.ResticBackup.plist | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.mac/Library/LaunchAgents/me.crute.ResticBackup.plist b/.mac/Library/LaunchAgents/me.crute.ResticBackup.plist new file mode 100644 index 0000000..0d1c3b0 --- /dev/null +++ b/.mac/Library/LaunchAgents/me.crute.ResticBackup.plist | |||
@@ -0,0 +1,25 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | <plist version="1.0"> | ||
4 | <dict> | ||
5 | <key>Label</key> | ||
6 | <string>me.crute.ResticBackup</string> | ||
7 | <key>StartCalendarInterval</key> | ||
8 | <dict> | ||
9 | <key>Hour</key> | ||
10 | <integer>1</integer> | ||
11 | <key>Minute</key> | ||
12 | <integer>0</integer> | ||
13 | </dict> | ||
14 | <key>ProgramArguments</key> | ||
15 | <array> | ||
16 | <string>/opt/restic-0.16.0/restic</string> | ||
17 | <string>backup</string> | ||
18 | <string>--repo=rest:http://nas.sea1.crute.me:6275/mcrute-devices</string> | ||
19 | <string>--password-file=/Users/mcrute/.restic-key</string> | ||
20 | <string>--exclude-file=/Users/mcrute/.backup-filter</string> | ||
21 | <string>/Users/mcrute</string> | ||
22 | </array> | ||
23 | <key>Debug</key><true /> | ||
24 | </dict> | ||
25 | </plist> | ||