-
Notifications
You must be signed in to change notification settings - Fork 30
/
linux.yaml
84 lines (77 loc) · 1.54 KB
/
linux.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
global:
default-command: version
initialize: false
priority: low
default:
password-file: key
repository: /tmp/backup
documents:
inherit: default
initialize: true
backup:
tag: documents
source: ~/Documents
schedule:
- "*:00,30" # every 15 minutes
- "*:15,45" # both combined together
snapshots:
tag: documents
test1:
inherit: default
backup:
source: ./
schedule: "*:00,15,30,45"
schedule-permission: user
check:
schedule: "*-*-1"
test2:
inherit: default
backup:
source: ./
schedule: "*:05,25,45"
schedule-permission: system
check:
schedule: "*-*-2"
self:
inherit: default
backup:
source: ./
snapshots:
tag: self
src:
inherit: default
initialize: true
lock: "/tmp/resticprofile-profile-src.lock"
backup:
check-before: true
exclude:
- /**/.git
exclude-caches: true
one-file-system: false
run-after: echo All Done!
run-before:
- echo Starting!
- ls -al ~/go
source:
- ~/go
tag:
- test
- dev
retention:
after-backup: true
before-backup: false
compact: false
keep-within: 30d
prune: true
snapshots:
tag:
- test
- dev
stdin:
inherit: default
backup:
stdin: true
stdin-filename: stdin-test
tag: stdin
snapshots:
tag: stdin