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, encryptkey option must be set below.
25
# key ID used for data encryption and, optionnally, signing.
26
# if not set, local root's default gpg key is used.
29
######################################################
31
## (where the files to be backed up are coming from)
35
# files to include in the backup
36
# (supports globbing with '*')
38
# Symlinks are not dereferenced. Moreover, an include line whose path
39
# contains, at any level, a symlink to a directory, will only have the
40
# symlink backed-up, not the target directory's content. Yes, you have
41
# to dereference yourself the symlinks, or to use 'mount --bind'
44
# Let's say /home is a symlink to /mnt/crypt/home ; the following line
45
# will only backup a "/home" symlink ; neither /home/user nor
46
# /home/user/Mail will be backed-up :
47
# include = /home/user/Mail
48
# A workaround is to 'mount --bind /mnt/crypt/home /home' ; another
50
# include = /mnt/crypt/home/user/Mail
52
include = /var/spool/cron/crontabs
53
include = /var/backups
57
include = /usr/local/bin
58
include = /usr/local/sbin
59
include = /var/lib/dpkg/status
60
include = /var/lib/dpkg/status-old
62
# If vservers = yes in /etc/backupninja.conf then the following variables can
64
# vsnames = all | <vserver1> <vserver2> ... (default = all)
66
# Any path specified in vsinclude is added to the include list for each vserver
67
# listed in vsnames (or all if vsnames = all).
68
# E.g. vsinclude = /home will backup the /home partition in every vserver
69
# listed in vsnames. If you have vsnames = "foo bar baz", this vsinclude will
70
# add to the include list /vservers/foo/home, /vservers/bar/home and
72
# Vservers paths are derived from $VROOTDIR.
74
# rdiff-backup specific comment, TO ADAPT
75
# files to exclude from the backup
76
# (supports globbing with '*')
77
exclude = /home/*/.gnupg
79
######################################################
80
## destination section
81
## (where the files are copied to)
85
# perform an incremental backup? (default = yes)
86
# if incremental = no, perform a full backup in order to start a new backup set
89
# how many days of data to keep ; default is 60 days.
90
# (you can also use the time format of duplicity)
91
# 'keep = yes' means : do not delete old data, the remote host will take care of this
95
# bandwith limit, in kbit/s ; default is 0, i.e. no limit
98
# passed directly to ssh and scp
99
sshoptions = -i /root/.ssh/id_dsa_duplicity
101
# put the backups under this directory
104
# the machine which will receive the backups
105
desthost = backuphost
107
# make the files owned by this user
108
# note: you must be able to ssh backupuser@backhost
109
# without specifying a password (if type = remote).
110
destuser = backupuser