-
Notifications
You must be signed in to change notification settings - Fork 10
/
multiple_presets.cfg
57 lines (36 loc) · 1.03 KB
/
multiple_presets.cfg
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
# set global password file for this computer
[global]
password-file: ~/.config/restic/password
# set global excludes file for all `restic backup` calls on this computer
[global.backup]
exclude-file: ~/.config/restic/excludes
# use multi-line config values if you need to set a flag more than once
exclude: config.py
passwords.txt
# set repo and backup-directory for `home@nas` preset
[home@nas]
repo: sftp:my_nas:my_computer.restic
[home@nas.backup]
_arguments: ~
[home@nas.forget]
keep-within: 31d
# set repo and environment variables for Backblaze
[home@cloud]
repo: b2:bucketname:my_computer.restic
[home@cloud.backup]
_arguments: ~
[home@cloud.forget]
keep-within: 14d
[home@cloud.environ]
B2_ACCOUNT_ID: <MY_APPLICATION_KEY_ID>
B2_ACCOUNT_KEY: <MY_APPLICATION_KEY>
# set repo and backup-directory for `work@nas` preset
[work@nas]
repo: sftp:my_nas:my_work.restic
# use multi-line config values if you want to backup multiple directories
[work@nas.backup]
_arguments:
~/work
/srv
[work@nas.forget]
keep-within: 3m