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
# Example rustic config file.
#
# This file should be placed in the user's local config dir (~/.config/rustic/)
# If you save it under NAME.toml, use "rustic -P NAME" to access this profile.
#
# Note that most options can be overwritten by the corresponding command line option.
# global options: These options are used for all commands.
[]
= "debug"
= "/log/rustic.log"
# repository options: These options define which backend to use and which password to use.
[]
= "/tmp/rustic"
= "mySecretPassword"
# snapshot-filter options: These options apply to all commands that use snapshot filters
[]
= ["myhost"]
# backup options: These options are used for all sources when calling the backup command.
# They can be overwritten by source-specific options (see below) or command line options.
[]
= true
# backup options can be given for specific sources. These options only apply
# when calling "rustic backup SOURCE".
#
# Note that if you call "rustic backup" without any source, all sources from this config
# file will be processed.
[[]]
= ["/data/dir"]
[[]]
= ["/home"]
= ["!/home/*/Downloads/*"]
# forget options
[]
= [
"forgethost",
] # <- this overwrites the snapshot-filter option defined above
= ["mytag"]
= "7 days"
= 5
= 2