f0b9afb3b334cf9373122137e4f1ef88e4e97455
[matthijs/upstream/backupninja.git] / etc / backup.d / example.rdiff
1
2 ######################################################
3 ## source section
4 ## (where the files to be backed up are coming from)
5
6 [source]
7
8 # an optional subdirectory below 'directory' (see [dest])
9 label = thishostname
10
11 # only local type is currently supported
12 type = local
13
14 # how many days of data to keep
15 keep = 185
16
17 # files to include in the backup
18 # (supports globbing with '*')
19 include = /var/spool/cron/crontabs
20 include = /var/backups
21 include = /etc
22 include = /root
23 include = /home
24 include = /usr/local/bin
25 include = /usr/local/sbin
26 include = /var/lib/dpkg/status
27 include = /var/lib/dpkg/status-old
28
29 # files to exclude from the backup
30 # (supports globbing with '*')
31 #exclude = /home/*/.gnupg
32
33 ######################################################
34 ## destination section
35 ## (where the files are copied to)
36
37 [dest]
38
39 # only remote type is currently supported
40 type = remote
41
42 # the machine which will receive the backups
43 host = backuphost
44
45 # put the backups under this directory
46 directory = /backups
47
48 # make the files owned by this user
49 # note: you must be able to ssh backupuser@backhost
50 # without specifying a password 
51 user = backupuser
52