rdiff works with sshd banner... rdiff local dest works... create logfile... when...
[matthijs/upstream/backupninja.git] / etc / backup.d / example.rdiff
1
2 ## passed directly to rdiff-backup
3 # options = --force
4
5 ## default is 0, but set to 19 if you want to lower the priority.
6 # nicelevel = 19
7
8 ## default is yes. set to no to skip the test if the remote host is alive
9 # testconnect = no
10
11 ######################################################
12 ## source section
13 ## (where the files to be backed up are coming from)
14
15 [source]
16
17 # an optional subdirectory below 'directory' (see [dest])
18 label = thishostname
19
20 # only local type is currently supported
21 type = local
22
23 # how many days of data to keep
24 # (you can also use the time format of rdiff-backup, e.g. 6D5h)
25 keep = 60
26
27 # a note about includes and excludes:
28 # all the excludes come after all the includes. 
29 # otherwise, the order is not taken into account.
30 # currently, you cannot do "include = /"
31
32 # files to include in the backup
33 # (supports globbing with '*')
34 include = /var/spool/cron/crontabs
35 include = /var/backups
36 include = /etc
37 include = /root
38 include = /home
39 include = /usr/local/bin
40 include = /usr/local/sbin
41 include = /var/lib/dpkg/status
42 include = /var/lib/dpkg/status-old
43
44 # files to exclude from the backup
45 # (supports globbing with '*')
46 #exclude = /home/*/.gnupg
47
48 ######################################################
49 ## destination section
50 ## (where the files are copied to)
51
52 [dest]
53
54 # default is remote, if set to 'local' then
55 # ignore the 'host' and 'user' options.
56 type = remote
57
58 # put the backups under this directory
59 directory = /backups
60
61 # the machine which will receive the backups
62 host = backuphost
63
64 # make the files owned by this user
65 # note: you must be able to ssh backupuser@backhost
66 # without specifying a password (if type = remote).
67 user = backupuser
68