X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fbackup.d%2Fexample.dup;h=7db77710c755167cb68634c69604d2ef05a99a68;hb=1645c0c8572abe98f4d92d951ad3482b15cd4db4;hp=b8c266174b3823c7d1710e20135798ed63763814;hpb=3a6d8d25e4e525c4fd2b126475c8df1b00d4f493;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/etc/backup.d/example.dup b/etc/backup.d/example.dup index b8c2661..7db7771 100644 --- a/etc/backup.d/example.dup +++ b/etc/backup.d/example.dup @@ -15,10 +15,11 @@ nicelevel = 19 [gpg] # passphrase needed to unlock the GnuPG key -password = "a_very_complicated_passphrase" +# NB: do not quote it, and it should not contain any quote +password = a_very_complicated_passphrase # default is no, for backward compatibility with backupninja <= 0.5. -# when set to yes, encryptkey option must be set bellow. +# when set to yes, encryptkey option must be set below. sign = yes # key ID used for data encryption and, optionnally, signing. @@ -58,6 +59,18 @@ include = /usr/local/sbin include = /var/lib/dpkg/status include = /var/lib/dpkg/status-old +# If vservers = yes in /etc/backupninja.conf then the following variables can +# be used: +# vsnames = all | ... (default = all) +# vsinclude = +# Any path specified in vsinclude is added to the include list for each vserver +# listed in vsnames (or all if vsnames = all). +# E.g. vsinclude = /home will backup the /home partition in every vserver +# listed in vsnames. If you have vsnames = "foo bar baz", this vsinclude will +# add to the include list /vservers/foo/home, /vservers/bar/home and +# /vservers/baz/home. +# Vservers paths are derived from $VROOTDIR. + # rdiff-backup specific comment, TO ADAPT # files to exclude from the backup # (supports globbing with '*') @@ -69,13 +82,20 @@ exclude = /home/*/.gnupg [dest] +# perform an incremental backup? (default = yes) +# if incremental = no, perform a full backup in order to start a new backup set +#incremental = yes + # how many days of data to keep ; default is 60 days. # (you can also use the time format of duplicity) # 'keep = yes' means : do not delete old data, the remote host will take care of this #keep = 60 #keep = yes -## passed directly to ssh/scp +# bandwith limit, in kbit/s ; default is 0, i.e. no limit +#bandwidthlimit = 128 + +# passed directly to ssh and scp sshoptions = -i /root/.ssh/id_dsa_duplicity # put the backups under this directory