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 ## default is not to limit bandwidth.
17 ## set to a number in bytes/second to limit bandwidth usage. Use a negative
18 ## number to set a limit that will never be exceeded, or a positive number
19 ## to set a target average bandwidth use. cstream is required. See cstream's
20 ## -t option for more information. 62500 bytes = 500 Kb (.5 Mb)
23 ######################################################
25 ## (where the files to be backed up are coming from)
29 # an optional subdirectory below 'directory' (see [dest])
32 # type can be "local" or "remote"
35 # only use if '[source] type = remote'
39 # how many days of data to keep
40 # (you can also use the time format of rdiff-backup, e.g. 6D5h)
43 # A few notes about includes and excludes:
44 # 1. include, exclude and vsinclude statements support globbing with '*'
45 # 2. Symlinks are not dereferenced. Moreover, an include line whose path
46 # contains, at any level, a symlink to a directory, will only have the
47 # symlink backed-up, not the target directory's content. Yes, you have to
48 # dereference yourself the symlinks, or to use 'mount --bind' instead.
49 # Example: let's say /home is a symlink to /mnt/crypt/home ; the following
50 # line will only backup a "/home" symlink ; neither /home/user nor
51 # /home/user/Mail will be backed-up :
52 # include = /home/user/Mail
53 # A workaround is to 'mount --bind /mnt/crypt/home /home' ; another one is to
55 # include = /mnt/crypt/home/user/Mail
56 # 3. All the excludes come after all the includes. The order is not otherwise
59 # files to include in the backup
60 include = /var/spool/cron/crontabs
61 include = /var/backups
65 include = /usr/local/bin
66 include = /usr/local/sbin
67 include = /var/lib/dpkg/status
68 include = /var/lib/dpkg/status-old
70 # If vservers = yes in /etc/backupninja.conf then the following variables can
72 # vsnames = all | <vserver1> <vserver2> ... (default = all)
76 # Any path specified in vsinclude is added to the include list for each vserver
77 # listed in vsnames (or all if vsnames = all, which is the default).
79 # For example, vsinclude = /home will backup the /home directory in every
80 # vserver listed in vsnames. If you have 'vsnames = foo bar baz', this
81 # vsinclude will add to the include list /vservers/foo/home, /vservers/bar/home
82 # and /vservers/baz/home.
83 # Vservers paths are derived from $VROOTDIR.
85 # files to exclude from the backup
86 #exclude = /home/*/.gnupg
88 ######################################################
89 ## destination section
90 ## (where the files are copied to)
94 # type can be "local" or "remote"
97 # put the backups under this directory
100 # the machine which will receive the backups.
101 # only use if "[dest] type = remote"
104 # make the files owned by this user. you must be able to
105 # `su -c "ssh backupuser@backhost"` without specifying a password.
106 # only use if "[dest] type = remote"