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 # NB: do not quote it, and it should not contain any quote
19 password = a_very_complicated_passphrase
21 # default is no, for backward compatibility with backupninja <= 0.5.
22 # when set to yes, either signkey or encryptkey option must be set below.
25 # key ID used for data encryption.
26 # if not set, local root's default GnuPG key is used.
29 # key ID used for data signing.
30 # if not set, encryptkey will be used.
33 ######################################################
35 ## (where the files to be backed up are coming from)
39 # files to include in the backup
40 # (supports globbing with '*')
42 # Symlinks are not dereferenced. Moreover, an include line whose path
43 # contains, at any level, a symlink to a directory, will only have the
44 # symlink backed-up, not the target directory's content. Yes, you have
45 # to dereference yourself the symlinks, or to use 'mount --bind'
48 # Let's say /home is a symlink to /mnt/crypt/home ; the following line
49 # will only backup a "/home" symlink ; neither /home/user nor
50 # /home/user/Mail will be backed-up :
51 # include = /home/user/Mail
52 # A workaround is to 'mount --bind /mnt/crypt/home /home' ; another
54 # include = /mnt/crypt/home/user/Mail
56 include = /var/spool/cron/crontabs
57 include = /var/backups
61 include = /usr/local/bin
62 include = /usr/local/sbin
63 include = /var/lib/dpkg/status
64 include = /var/lib/dpkg/status-old
66 # If vservers = yes in /etc/backupninja.conf then the following variables can
68 # vsnames = all | <vserver1> <vserver2> ... (default = all)
70 # Any path specified in vsinclude is added to the include list for each vserver
71 # listed in vsnames (or all if vsnames = all).
72 # E.g. vsinclude = /home will backup the /home partition in every vserver
73 # listed in vsnames. If you have vsnames = "foo bar baz", this vsinclude will
74 # add to the include list /vservers/foo/home, /vservers/bar/home and
76 # Vservers paths are derived from $VROOTDIR.
78 # rdiff-backup specific comment, TO ADAPT
79 # files to exclude from the backup
80 # (supports globbing with '*')
81 exclude = /home/*/.gnupg
83 ######################################################
84 ## destination section
85 ## (where the files are copied to)
89 # perform an incremental backup? (default = yes)
90 # if incremental = no, perform a full backup in order to start a new backup set
93 # how many days of data to keep ; default is 60 days.
94 # (you can also use the time format of duplicity)
95 # 'keep = yes' means : do not delete old data, the remote host will take care of this
99 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
100 #bandwidthlimit = 128
102 # passed directly to ssh and scp
103 sshoptions = -i /root/.ssh/id_dsa_duplicity
105 # put the backups under this directory
108 # the machine which will receive the backups
109 desthost = backuphost
111 # make the files owned by this user
112 # note: you must be able to ssh backupuser@backhost
113 # without specifying a password (if type = remote).
114 destuser = backupuser