2 ## This is an example rdiff-backup configuration file.
3 ## The defaults are useful in most cases, just make sure
4 ## to configure the destination host and user.
7 ## passed directly to rdiff-backup
10 ## default is 0, but set to 19 if you want to lower the priority.
13 ## default is yes. set to no to skip the test if the remote host is alive
16 ######################################################
18 ## (where the files to be backed up are coming from)
22 # an optional subdirectory below 'directory' (see [dest])
25 # type can be "local" or "remote"
28 # only use if '[source] type = remote'
32 # how many days of data to keep
33 # (you can also use the time format of rdiff-backup, e.g. 6D5h)
36 # a note about includes and excludes:
37 # All the excludes come after all the includes. The order is
38 # not otherwise taken into account.
40 # files to include in the backup
41 # (supports globbing with '*')
42 include = /var/spool/cron/crontabs
43 include = /var/backups
47 include = /usr/local/bin
48 include = /usr/local/sbin
49 include = /var/lib/dpkg/status
50 include = /var/lib/dpkg/status-old
52 # If vservers = yes in /etc/backupninja.conf then the following variables can
54 # vsnames = all | <vserver1> <vserver2> ... (default = all)
58 # Any path specified in vsinclude is added to the include list for each vserver
59 # listed in vsnames (or all if vsnames = all, which is the default).
61 # For example, vsinclude = /home will backup the /home directory in every
62 # vserver listed in vsnames. If you have 'vsnames = foo bar baz', this
63 # vsinclude will add to the include list /vservers/foo/home, /vservers/bar/home
64 # and /vservers/baz/home.
65 # Vservers paths are derived from $VROOTDIR.
66 # vsinclude supports globbing with '*'.
68 # files to exclude from the backup
69 # (supports globbing with '*')
70 #exclude = /home/*/.gnupg
72 ######################################################
73 ## destination section
74 ## (where the files are copied to)
78 # type can be "local" or "remote"
81 # put the backups under this directory
84 # the machine which will receive the backups.
85 # only use if "[dest] type = remote"
88 # make the files owned by this user. you must be able to
89 # `su -c "ssh backupuser@backhost"` without specifying a password.
90 # only use if "[dest] type = remote"