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 optionally sign the backups)
15 ## WARNING: old (pre-0.9.4) example.dup used to give wrong information about
16 ## the way the following options are used. Please read the following
19 ## If the encryptkey variable is set:
20 ## - data is encrypted with the GnuPG public key specified by the encryptkey
22 ## - if signing is enabled, data is signed with the GnuPG private
23 ## key specified by the signkey variable
24 ## - the password variable is used to unlock the GnuPG key(s) used
25 ## for encryption and (optionnal) signing
27 ## If the encryptkey option is not set:
28 ## - data signing is not possible
29 ## - the password variable is used to encrypt the data with symmetric
30 ## encryption: no GnuPG key pair is needed
34 # when set to yes, encryptkey variable must be set below; if you want to use
35 # two different keys for encryption and signing, you must also set the signkey
37 # default is no, for backwards compatibility with backupninja <= 0.5.
40 # ID of the GnuPG public key used for data encryption.
41 # if not set, symmetric encryption is used, and data signing is not possible.
44 # ID of the GnuPG private key used for data signing.
45 # if not set, encryptkey will be used.
49 # NB: neither quote this, nor should it contain any quotes
50 password = a_very_complicated_passphrase
52 ######################################################
54 ## (where the files to be backed up are coming from)
58 # WARNING: include, exclude and vsinclude statements support EITHER globbing
59 # with '*' OR symlinks in the path; usage of both in the same statement is *not*
60 # supported and will lead to weird behaviour.
62 # files to include in the backup
63 include = /var/spool/cron/crontabs
64 include = /var/backups
68 include = /usr/local/bin
69 include = /usr/local/sbin
70 include = /var/lib/dpkg/status
71 include = /var/lib/dpkg/status-old
73 # If vservers = yes in /etc/backupninja.conf then the following variables can
75 # vsnames = all | <vserver1> <vserver2> ... (default = all)
79 # Any path specified in vsinclude is added to the include list for each vserver
80 # listed in vsnames (or all if vsnames = all, which is the default).
82 # For example, vsinclude = /home will backup the /home directory in every
83 # vserver listed in vsnames. If you have 'vsnames = foo bar baz', this
84 # vsinclude will add to the include list /vservers/foo/home, /vservers/bar/home
85 # and /vservers/baz/home.
86 # Vservers paths are derived from $VROOTDIR.
88 # files to exclude from the backup
89 exclude = /home/*/.gnupg
91 ######################################################
92 ## destination section
93 ## (where the files are copied to)
97 # perform an incremental backup? (default = yes)
98 # if incremental = no, perform a full backup in order to start a new backup set
101 # how many days of data to keep ; default is 60 days.
102 # (you can also use the time format of duplicity)
103 # 'keep = yes' means : do not delete old data, the remote host will take care of this
107 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
108 #bandwidthlimit = 128
110 # passed directly to ssh and scp
111 sshoptions = -i /root/.ssh/id_dsa_duplicity
113 # put the backups under this directory
116 # the machine which will receive the backups
117 desthost = backuphost
119 # make the files owned by this user
120 # note: you must be able to ssh backupuser@backhost
121 # without specifying a password (if type = remote).
122 destuser = backupuser