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)
15 ## WARNING: old (pre-0.9.2) example.dup used to give wrong information about
16 ## the way the following options are used. Please read ahead
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, the password variable is used to unlock the GnuPG
23 ## private key used for signing; else, you do not need to set the password
25 ## If the encryptkey option is not set:
26 ## - data signing is not possible
27 ## - the password variable is used to encrypt the data with symmetric
28 ## encryption: no GnuPG key pair is needed
32 # when set to yes, encryptkey variable must be set bellow; if you want to use
33 # two different keys for encryption and signing, you must also set the signkey
35 # default is no, for backward compatibility with backupninja <= 0.5.
38 # ID of the GnuPG public key used for data encryption.
39 # if not set, symmetric encryption is used, and data signing is not possible.
42 # ID of the GnuPG private key used for data signing.
43 # if not set, encryptkey will be used.
47 # NB: do not quote it, and it should not contain any quote
48 password = a_very_complicated_passphrase
50 ######################################################
52 ## (where the files to be backed up are coming from)
56 # files to include in the backup
57 # (supports globbing with '*')
59 include = /var/spool/cron/crontabs
60 include = /var/backups
64 include = /usr/local/bin
65 include = /usr/local/sbin
66 include = /var/lib/dpkg/status
67 include = /var/lib/dpkg/status-old
69 # If vservers = yes in /etc/backupninja.conf then the following variables can
71 # vsnames = all | <vserver1> <vserver2> ... (default = all)
75 # Any path specified in vsinclude is added to the include list for each vserver
76 # listed in vsnames (or all if vsnames = all, which is the default).
78 # For example, vsinclude = /home will backup the /home directory in every
79 # vserver listed in vsnames. If you have 'vsnames = foo bar baz', this
80 # vsinclude will add to the include list /vservers/foo/home, /vservers/bar/home
81 # and /vservers/baz/home.
82 # Vservers paths are derived from $VROOTDIR.
83 # vsinclude supports globbing with '*'.
85 # files to exclude from the backup
86 # (supports globbing with '*')
87 exclude = /home/*/.gnupg
89 ######################################################
90 ## destination section
91 ## (where the files are copied to)
95 # perform an incremental backup? (default = yes)
96 # if incremental = no, perform a full backup in order to start a new backup set
99 # how many days of data to keep ; default is 60 days.
100 # (you can also use the time format of duplicity)
101 # 'keep = yes' means : do not delete old data, the remote host will take care of this
105 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
106 #bandwidthlimit = 128
108 # passed directly to ssh and scp
109 sshoptions = -i /root/.ssh/id_dsa_duplicity
111 # put the backups under this directory
114 # the machine which will receive the backups
115 desthost = backuphost
117 # make the files owned by this user
118 # note: you must be able to ssh backupuser@backhost
119 # without specifying a password (if type = remote).
120 destuser = backupuser