2 # passed directly to duplicity
3 #options = --verbosity 8
5 # default is 0, but set to 19 if you want to lower the priority.
8 # default is yes. set to no to skip the test if the remote host is alive
11 ######################################################
13 ## (how to encrypt and optionnally sign the backups)
17 # passphrase needed to unlock the GnuPG key
18 password = "a_very_complicated_passphrase"
20 # default is no, for backward compatibility with backupninja <= 0.5.
21 # when set to yes, encryptkey option must be set below.
24 # key ID used for data encryption and, optionnally, signing.
25 # if not set, local root's default gpg key is used.
28 ######################################################
30 ## (where the files to be backed up are coming from)
34 # files to include in the backup
35 # (supports globbing with '*')
37 # Symlinks are not dereferenced. Moreover, an include line whose path
38 # contains, at any level, a symlink to a directory, will only have the
39 # symlink backed-up, not the target directory's content. Yes, you have
40 # to dereference yourself the symlinks, or to use 'mount --bind'
43 # Let's say /home is a symlink to /mnt/crypt/home ; the following line
44 # will only backup a "/home" symlink ; neither /home/user nor
45 # /home/user/Mail will be backed-up :
46 # include = /home/user/Mail
47 # A workaround is to 'mount --bind /mnt/crypt/home /home' ; another
49 # include = /mnt/crypt/home/user/Mail
51 include = /var/spool/cron/crontabs
52 include = /var/backups
56 include = /usr/local/bin
57 include = /usr/local/sbin
58 include = /var/lib/dpkg/status
59 include = /var/lib/dpkg/status-old
61 # If vservers = yes in /etc/backupninja.conf then the following variables can
63 # vsnames = all | <vserver1> <vserver2> ... (default = all)
65 # Any path specified in vsinclude is added to the include list for each vserver
66 # listed in vsnames (or all if vsnames = all).
67 # E.g. vsinclude = /home will backup the /home partition in every vserver
68 # listed in vsnames. If you have vsnames = "foo bar baz", this vsinclude will
69 # add to the include list /vservers/foo/home, /vservers/bar/home and
71 # Vservers paths are derived from $VROOTDIR.
73 # rdiff-backup specific comment, TO ADAPT
74 # files to exclude from the backup
75 # (supports globbing with '*')
76 exclude = /home/*/.gnupg
78 ######################################################
79 ## destination section
80 ## (where the files are copied to)
84 # how many days of data to keep ; default is 60 days.
85 # (you can also use the time format of duplicity)
86 # 'keep = yes' means : do not delete old data, the remote host will take care of this
90 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
93 # passed directly to ssh and scp
94 sshoptions = -i /root/.ssh/id_dsa_duplicity
96 # put the backups under this directory
99 # the machine which will receive the backups
100 desthost = backuphost
102 # make the files owned by this user
103 # note: you must be able to ssh backupuser@backhost
104 # without specifying a password (if type = remote).
105 destuser = backupuser