added nodata option to mysql handler, thanks to Daniel Bonniot (Closes: 408829)
[matthijs/upstream/backupninja.git] / examples / example.rsnap
1 ##
2 ## This is an example rsnap configuration file.
3 ## The defaults are useful in most cases.
4 ##
5
6 ## global options
7 [options]
8 options =
9
10 ## the nicelevel the backup and all the children should run at
11 ## the higher nicelevel reduces the priority
12 nicelevel = 19
13
14 # how many days of data to keep
15 keep = 90
16
17 # the name of the directory created for the backup
18 label = systemname_domain_tld
19
20 [source]
21
22 # bandwidth limit to be used for rsync
23 bandwidthlimit = 1000
24
25 # remote_rsync can be used if your rsync is not in your PATH, or if you
26 # need a wrapper
27 #remote_rsync = /usr/local/bin/sudo_rsync
28
29 # options like -P<port> can be specified here
30 #sshoptions =
31
32 # test the ssh connection before proceding?
33 testconnect = yes
34
35 # don't translate owner+groupid's to local names
36 numericids = 1
37
38 # turn on rsync compression? (1 = on, 0 = off)
39 compress = 1
40
41 srchost = backupuser@hostname.domain.tld
42
43 # files to include in the backup
44 # (supports globbing with '*'), by default / is included
45 include = /var
46 include = /usr/local
47 include = /home
48
49 # files to exclude from the backup
50 # (supports globbing with '*')
51 exclude = /home/*/Maildir
52 exclude = /var/log
53 exclude = /proc
54 exclude = /srv
55 exclude = /sys
56 exclude = /*.gz
57
58 [dest]
59
60 # base directory where backup is made to
61 directory = /media/backup
62
63 # only necessary if you hit a specifi 2.4 kernel bug
64 enable_mv_timestamp_bug = no
65
66 # if you say no here, only one dir is kept, and 'keep' is irrelevant
67 incremental = yes