Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 492 lines (380 sloc) 16.881 kB
8a97ae0 new confkeys
sukria authored
1 # Backup Manager Configuration File
674201f release 0.5.8b
sukria authored
2 #
8a97ae0 new confkeys
sukria authored
3 # * This configuration file is divided into sections.
4 # The 'global' section is mandatory, every keys defined in
5 # this section are inherited in the other sections.
c89a6b2 2005-10-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
6 # * There is one section per "backup method", you have to
7 # fill the section of the chosen method.
674201f release 0.5.8b
sukria authored
8 #
9 ##############################################################
10
11 ##############################################################
e00ad0c yeah
sukria authored
12 # Repository - everything about where archives are
8a97ae0 new confkeys
sukria authored
13 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
14
8a97ae0 new confkeys
sukria authored
15 # Where to store the archives
16 export BM_REPOSITORY_ROOT="/var/archives"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
17
476e39d Closing bug: #138
sukria authored
18 # Where to place temporary files
19 export BM_TEMP_DIR="/tmp"
20
8a97ae0 new confkeys
sukria authored
21 # For security reasons, the archive repository and the generated
22 # archives will be readable/writable by a given user/group.
026f318 Version 0.6.1
sukria authored
23 # This is recommended to set this to true.
24 export BM_REPOSITORY_SECURE="true"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
25
8a97ae0 new confkeys
sukria authored
26 # The repository will be readable/writable only by a specific
026f318 Version 0.6.1
sukria authored
27 # user:group pair if BM_REPOSITORY_SECURE is set to true.
8a97ae0 new confkeys
sukria authored
28 export BM_REPOSITORY_USER="root"
29 export BM_REPOSITORY_GROUP="root"
749edba Added support of BM_REPOSITORY_CHMOD and BM_ARCHIVE_CHMOD.
sukria authored
30 # You can also choose the permission to set the repository, default
31 # is 770, pay attention to what you do there!
32 export BM_REPOSITORY_CHMOD="770"
7a80abf Now every backup methods are implemented in lib/backup-methods.sh
sukria authored
33
8a97ae0 new confkeys
sukria authored
34 ##############################################################
35 # Archives - let's focus on the precious tarballs...
36 ##############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
37
8666282 Fixes for bug #82, BM_TARBALL_TARGETS[] replaces BM_TARBALL_DIRECTORIES
sukria authored
38 # Each archive generated will be chmoded for security reasons
39 # (BM_REPOSITORY_SECURE should be enabled for this).
749edba Added support of BM_REPOSITORY_CHMOD and BM_ARCHIVE_CHMOD.
sukria authored
40 export BM_ARCHIVE_CHMOD="660"
41
8a97ae0 new confkeys
sukria authored
42 # Number of days we have to keep an archive (Time To Live)
43 export BM_ARCHIVE_TTL="5"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
44
de1db16 BM_ARCHIVE_FREQUENCY added in the reference conffile
Alexis Sukrieh authored
45 # At which frequency will you build your archives?
46 # You can choose either "daily" or "hourly".
47 # This should match your CRON configuration.
48 export BM_ARCHIVE_FREQUENCY="daily"
49
95c9a1c 2006-09-01 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
50 # Do you want to purge only the top-level directory or all
51 # directories under BM_REPOSITORY_ROOT?
52 export BM_REPOSITORY_RECURSIVEPURGE="false"
53
674201f release 0.5.8b
sukria authored
54 # Do you want to replace duplicates by symlinks?
8a97ae0 new confkeys
sukria authored
55 # (archive-DAY is a duplicate of archive-(DAY - 1) if they
6ab58f8 2006-12-29 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
56 # are both the same according to MD5 hashes).
026f318 Version 0.6.1
sukria authored
57 export BM_ARCHIVE_PURGEDUPS="true"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
58
1ce9cd9 Syncing the CVS repo with the very last source tree...
sukria authored
59 # Prefix of every archive on that box (default is HOSTNAME)
8a97ae0 new confkeys
sukria authored
60 export BM_ARCHIVE_PREFIX="$HOSTNAME"
61
81a97d6 2007-03-13 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
62 # Should we purge only archives built with $BM_ARCHIVE_PREFIX
63 export BM_ARCHIVE_STRICTPURGE="true"
64
52b1b95 Support for BM_ARCHIVE_NICE_LEVEL
sukria authored
65 # You may want to nice the commands run for archive-creation
66 # (Recommanded for desktop users.)
67 # Choose a nice level from -20 (most favorable scheduling) to 19 (least favorable).
68 export BM_ARCHIVE_NICE_LEVEL="10"
69
8a97ae0 new confkeys
sukria authored
70 # The backup method to use.
72f36d8 Added examples for the svn backup method.
sukria authored
71 # Available methods are:
72 # - tarball
f878234 2005-11-10 Alexis Sukrieh <sukria@sukria.net>
sukria authored
73 # - tarball-incremental
72f36d8 Added examples for the svn backup method.
sukria authored
74 # - mysql
75 # - svn
76 # - pipe
a0b9eb9 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
77 # - none
78 # If you don't want to use any backup method (you don't want to
79 # build archives) then choose "none"
8a97ae0 new confkeys
sukria authored
80 export BM_ARCHIVE_METHOD="tarball"
d29639d Initial revision
sukria authored
81
8a97ae0 new confkeys
sukria authored
82 ##############################################################
9bdb3c0 2006-07-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
83 # Encryption - because you cannot trust the place your
84 # archives are
85 ##############################################################
86
87 # If you want to encrypt your archives locally, Backup Manager
88 # can use GPG while building the archive (so the archive is never
89 # written to the disk without being encrypted.
90
91 # Note: this feature is only possible with the following archive types:
92 # tar, tar.gz, tar.bz2
93
94 # Uncomment the following line if you want to enable encryption
95 # export BM_ENCRYPTION_METHOD="gpg"
96
97 # The encryption will be made using a GPG ID
98 # Examples:
99 # export BM_ENCRYPTION_RECIPIENT="0x1EE5DD34"
100 # export BM_ENCRYPTION_RECIPIENT="Alexis Sukrieh"
101 # export BM_ENCRYPTION_RECIPIENT="sukria@sukria.net"
102
103
104 ##############################################################
8a97ae0 new confkeys
sukria authored
105 # Section "TARBALL"
106 # - Backup method: tarball
107 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
108
8a97ae0 new confkeys
sukria authored
109 # Archive filename format
110 # long : host-full-path-to-folder.tar.gz
111 # short : parentfolder.tar.gz
112 export BM_TARBALL_NAMEFORMAT="long"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
113
784e08c 2006-06-27 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
114 # Type of archives
115 # Available types are:
116 # tar, tar.gz, tar.bz2, tar.lz, dar, zip.
117 # Make sure to satisfy the appropriate dependencies
118 # (bzip2, dar, lzma, ...).
8a97ae0 new confkeys
sukria authored
119 export BM_TARBALL_FILETYPE="tar.gz"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
120
213c6f2 2006-03-28 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
121 # You can choose to build archives remotely over SSH.
122 # You will then need to fill the BM_UPLOAD_SSH variables
123 # (BM_UPLOAD_SSH_HOSTS, BM_UPLOAD_SSH_USER, BM_UPLOAD_SSH_KEY).
124 # If this boolean is set to true, archive will be saved locally (in
125 # BM_REPOSITORY_ROOT but will be built by the remote host).
b0d39a1 Fix typo in the configuration file sampe.
sukria authored
126 # Thus, BM_TARBALL_DIRECTORIES will be used to backup remote directories.
213c6f2 2006-03-28 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
127 # Those archive will be prefixed with the remote host name.
6c170ca 2006-06-21 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
128 export BM_TARBALL_OVER_SSH="false"
213c6f2 2006-03-28 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
129
8a97ae0 new confkeys
sukria authored
130 # Do you want to dereference the files pointed by symlinks ?
026f318 Version 0.6.1
sukria authored
131 # enter true or false (true can lead to huge archives, be careful).
132 export BM_TARBALL_DUMPSYMLINKS="false"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
133
17e148f Fixes the bug about paths with spaces.
sukria authored
134 # Targets to backup
135
136 # You can use two different variables for defining the targets of
137 # your backups, either a simple space-separated list (BM_TARBALL_DIRECTORIES)
138 # or an array (BM_TARBALL_TARGETS[]).
139 # Use the first one for simple path that doesn't contain spaces in their name.
140 # Use the former if you want to specify paths to backups with spaces.
141
142 # It's recommanded to use BM_TARBALL_TARGETS[] though.
143 # Warning! You *must not* use both variables at the same time.
144
145 # Paths without spaces in their name:
146 # export BM_TARBALL_DIRECTORIES="/etc /boot"
147
148 # If one or more of the targets contain a space, use the array:
8666282 Fixes for bug #82, BM_TARBALL_TARGETS[] replaces BM_TARBALL_DIRECTORIES
sukria authored
149 declare -a BM_TARBALL_TARGETS
150
151 BM_TARBALL_TARGETS[0]="/etc"
152 BM_TARBALL_TARGETS[1]="/boot"
153
154 export BM_TARBALL_TARGETS
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
155
67a148d + backup-manager.conf.tpl (closes: #29)
sukria authored
156 # Files to exclude when generating tarballs, you can put absolute
157 # or relative paths, Bash wildcards are possible.
8e7d623 Added /tmp as a default blacklist item.
sukria authored
158 export BM_TARBALL_BLACKLIST="/dev /sys /proc /tmp"
d29639d Initial revision
sukria authored
159
67a148d + backup-manager.conf.tpl (closes: #29)
sukria authored
160 # With the "dar" filetype, you can choose a maximum slice limit.
6d42954 2006-01-17 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
161 export BM_TARBALL_SLICESIZE="1000M"
162
514c5c9 2006-03-29 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
163 # Extra options to append to the tarball generation
164 # (take care to what you do; this will be silently added to the
165 # command line.)
166 export BM_TARBALL_EXTRA_OPTIONS=""
167
d29639d Initial revision
sukria authored
168 ##############################################################
f878234 2005-11-10 Alexis Sukrieh <sukria@sukria.net>
sukria authored
169 # The tarball-incremental method uses the same keys as the
170 # tarball method, plus two others.
171 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
172
f878234 2005-11-10 Alexis Sukrieh <sukria@sukria.net>
sukria authored
173 # Which frequency to use for the master tarball?
174 # possible values: weekly, monthly
175 export BM_TARBALLINC_MASTERDATETYPE="weekly"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
176
f878234 2005-11-10 Alexis Sukrieh <sukria@sukria.net>
sukria authored
177 # Number of the day, in the BM_TARBALLINC_MASTERDATETYPE frequency
178 # when master tarballs should be made
179 export BM_TARBALLINC_MASTERDATEVALUE="1"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
180
52a8b32 A couple of typo fixed.
sukria authored
181 # Examples: you want to make master tarballs every friday:
f878234 2005-11-10 Alexis Sukrieh <sukria@sukria.net>
sukria authored
182 # BM_TARBALLINC_MASTERDATETYPE="weekly"
183 # BM_TARBALLINC_MASTERDATEVALUE="5"
184 #
185 # Or every first day of the month:
186 # BM_TARBALLINC_MASTERDATETYPE="monthly"
187 # BM_TARBALLINC_MASTERDATEVALUE="1"
188
189 ##############################################################
e00ad0c yeah
sukria authored
190 # Backup method: MYSQl
8a97ae0 new confkeys
sukria authored
191 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
192
c89a6b2 2005-10-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
193 # This method is dedicated to MySQL databases.
194 # You should not use the tarball method for backing up database
e00ad0c yeah
sukria authored
195 # directories or you may have corrupted archives.
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
196 # Enter here the list of databases to backup.
197 # Wildcard: __ALL__ (will dump all the databases in one archive)
198 export BM_MYSQL_DATABASES="__ALL__"
199
200 # The best way to produce MySQL dump is done by using the "--opt" switch
201 # of mysqldump. This make the dump directly usable with mysql (add the drop table
202 # statements), lock the tables during the dump and other things.
203 # This is recommended for full-clean-safe backups, but needs a
204 # privileged user (for the lock permissions).
205 export BM_MYSQL_SAFEDUMPS="true"
206
e00ad0c yeah
sukria authored
207 # The user who is allowed to read every databases filled in BM_MYSQL_DATABASES
208 export BM_MYSQL_ADMINLOGIN="root"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
209
e00ad0c yeah
sukria authored
210 # its password
211 export BM_MYSQL_ADMINPASS=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
212
c89a6b2 2005-10-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
213 # the host where the database is
e00ad0c yeah
sukria authored
214 export BM_MYSQL_HOST="localhost"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
215
e00ad0c yeah
sukria authored
216 # the port where MySQL listen to on the host
217 export BM_MYSQL_PORT="3306"
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
218
e00ad0c yeah
sukria authored
219 # which compression format to use? (gzip or bzip2)
220 export BM_MYSQL_FILETYPE="bzip2"
221
421a516 @kissifrot New configuration variable: BM_MYSQL_EXTRA_OPTIONS
kissifrot authored
222 # Extra options to append to mysqldump
223 # (take care to what you do; this will be silently added to the
224 # command line.)
225 export BM_MYSQL_EXTRA_OPTIONS=""
226
8a97ae0 new confkeys
sukria authored
227 ##############################################################
72f36d8 Added examples for the svn backup method.
sukria authored
228 # Backup method: svn
229 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
230
72f36d8 Added examples for the svn backup method.
sukria authored
231 # Absolute paths to the svn repositories to archive
232 export BM_SVN_REPOSITORIES=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
233
72f36d8 Added examples for the svn backup method.
sukria authored
234 # You can compress the resulting XML files
235 # Supported compressor are: bzip2 and gzip
236 export BM_SVN_COMPRESSWITH="bzip2"
237
238 ##############################################################
8a97ae0 new confkeys
sukria authored
239 # Backup method: pipe
240 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
241
b29dd5c 2005-10-23 Alexis Sukrieh <sukria@sukria.net>
sukria authored
242 # The "pipe" method is a generic way of making archive.
243 # Its concept is simple, for every kind of archive you want
244 # to make, you give: a command which will send output on stdout,
245 # a name, a file type and optionnaly, a compressor.
246
247 # Be careful, this feature uses arrays!
248 declare -a BM_PIPE_COMMAND
249 declare -a BM_PIPE_NAME
250 declare -a BM_PIPE_FILETYPE
251 declare -a BM_PIPE_COMPRESS
252
253 # You can virtually implement whatever backup scenario you like
254 # with this method.
255 #
256 # The resulting archives will be named like this:
257 # $BM_ARCHIVE_PREFIX-$BM_PIPE_NAME.$DATE.$BM_PIPE_FILETYPE
258 # If you specified a BM_PIPE_COMPRESS option, the resulting filename
259 # will change as expected (eg, .gz if "gzip").
260 #
261 # Here are a couple of examples for using this method:
262
263 # Archive a remote MySQL database through SSH:
7febcad 2005-10-24 Alexis Sukrieh <sukria@sukria.net>
sukria authored
264 # BM_PIPE_COMMAND[0]="ssh host -c \"mysqldump -ufoo -pbar base\""
265 # BM_PIPE_NAME[0]="base"
266 # BM_PIPE_FILETYPE[0]="sql"
267 # BM_PIPE_COMPRESS[0]="gzip"
b29dd5c 2005-10-23 Alexis Sukrieh <sukria@sukria.net>
sukria authored
268 # This will make somthing like: localhost-base.20050421.sql.gz
269
270 # Archive a specific directory, on a remote server through SSH:
7febcad 2005-10-24 Alexis Sukrieh <sukria@sukria.net>
sukria authored
271 # BM_PIPE_COMMAND[0]="ssh host -c \"tar -c -z /home/user\""
272 # BM_PIPE_NAME[0]="host.home.user"
273 # BM_PIPE_FILETYPE[0]="tar.gz"
274 # BM_PIPE_COMPRESS[0]=""
b29dd5c 2005-10-23 Alexis Sukrieh <sukria@sukria.net>
sukria authored
275 # This will make somthing like: localhost-host.home.user.20050421.tar.gz
e00ad0c yeah
sukria authored
276
7febcad 2005-10-24 Alexis Sukrieh <sukria@sukria.net>
sukria authored
277 export BM_PIPE_COMMAND
278 export BM_PIPE_NAME
279 export BM_PIPE_FILETYPE
280 export BM_PIPE_COMPRESS
e00ad0c yeah
sukria authored
281
8a97ae0 new confkeys
sukria authored
282 ##############################################################
283 # Section "UPLOAD"
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
284 # You can upload archives to remote hosts with different
285 # methods.
d29639d Initial revision
sukria authored
286 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
287
a0b9eb9 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
288 # Which method to use for uploading archives, you can put
289 # multiple methods here.
290 # Available methods:
291 # - scp
a1b9ed1 2006-04-22 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
292 # - ssh-gpg
a0b9eb9 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
293 # - ftp
294 # - rsync
514c5c9 2006-03-29 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
295 # - s3
a0b9eb9 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
296 # - none
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
297
a0b9eb9 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
298 # If you don't want to use any upload method (you don't want to
299 # upload files to remote hosts) then choose "none"
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
300 export BM_UPLOAD_METHOD=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
301
514c5c9 2006-03-29 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
302 # where to upload (global to all methods. Not required to be set for S3)
8a97ae0 new confkeys
sukria authored
303 export BM_UPLOAD_HOSTS=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
304
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
305 # Where to put archives on the remote hosts (global)
306 export BM_UPLOAD_DESTINATION=""
d29639d Initial revision
sukria authored
307
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
308 ##############################################################
309 # The SSH method
310 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
311
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
312 # the user to use for the SSH connections/transfers
313 export BM_UPLOAD_SSH_USER=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
314
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
315 # The private key to use for opening the connection
316 export BM_UPLOAD_SSH_KEY=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
317
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
318 # specific ssh hosts
319 export BM_UPLOAD_SSH_HOSTS=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
320
376ff5b 2005-12-19 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
321 # port to use for SSH connections (leave blank for default one)
322 export BM_UPLOAD_SSH_PORT=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
323
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
324 # destination for ssh uploads (overrides BM_UPLOAD_DESTINATION)
325 export BM_UPLOAD_SSH_DESTINATION=""
1ce9cd9 Syncing the CVS repo with the very last source tree...
sukria authored
326
6c170ca 2006-06-21 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
327 # purge archives on remote hosts before uploading?
328 export BM_UPLOAD_SSH_PURGE="true"
329
330 # If you set BM_UPLOAD_SSH_PURGE, you can specify a time to live
331 # for archives uploaded with SSH.
332 # This can let you use different ttl's locally and remotely
333 # By default, BM_ARCHIVE_TTL will be used.
334 export BM_UPLOAD_SSH_TTL=""
335
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
336 ##############################################################
a1b9ed1 2006-04-22 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
337 # The SSH-GPG method
338 # The ssh-gpg method uses the same configuration keys as the
339 # ssh method, plus one other
340 #############################################################
341
342 # The gpg public key used for encryption, this can be a short
343 # or long key id, or a descriptive name. See gpg man page for
344 # all possibilities how to specify a key.
345 export BM_UPLOAD_SSHGPG_RECIPIENT=""
346
347 ##############################################################
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
348 # The FTP method
349 #############################################################
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
350
9ebe48b 2006-09-08 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
351 # Use FTP secured transfers (FTP over TLS)
352 # User, password and data will be uploaded encrypted with SSL.
353 # Passive mode will be automaticaly activated
354 export BM_UPLOAD_FTP_SECURE="false"
355
a69eb90 Closes: #76, to be tested.
sukria authored
356 # Do you want to use FTP passive mode?
357 # This is mandatory for NATed/firewalled environments
358 export BM_UPLOAD_FTP_PASSIVE="true"
359
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
360 # the user to use for the FTP connections/transfers
361 export BM_UPLOAD_FTP_USER=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
362
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
363 # the FTP user's password
364 export BM_UPLOAD_FTP_PASSWORD=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
365
67a148d + backup-manager.conf.tpl (closes: #29)
sukria authored
366 # FTP specific remote hosts
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
367 export BM_UPLOAD_FTP_HOSTS=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
368
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
369 # purge archives on remote hosts before uploading?
6c170ca 2006-06-21 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
370 export BM_UPLOAD_FTP_PURGE="true"
371
372 # You can specify a time to live for archives uploaded with FTP
373 # This can let you use different ttl's locally and remotely
374 # By default, BM_ARCHIVE_TTL will be used.
375 export BM_UPLOAD_FTP_TTL=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
376
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
377 # destination for FTP uploads (overrides BM_UPLOAD_DESTINATION)
378 export BM_UPLOAD_FTP_DESTINATION=""
d29639d Initial revision
sukria authored
379
9ebe48b 2006-09-08 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
380
514c5c9 2006-03-29 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
381 ##############################################################
382 # The S3 method
383 #############################################################
384
385 # The Amazon S3 method requires that you secure an S3
386 # account. See http://aws.amazon.com
387
388 # The bucket to upload to. This bucket must be dedicated to backup-manager
389 export BM_UPLOAD_S3_DESTINATION=""
390
391 # the S3 access key provided to you
392 export BM_UPLOAD_S3_ACCESS_KEY=""
393
394 # the S3 secret key provided to you
395 export BM_UPLOAD_S3_SECRET_KEY=""
396
397 # purge archives on remote hosts before uploading?
398 export BM_UPLOAD_S3_PURGE="false"
d29639d Initial revision
sukria authored
399
0950922 - Changed configuration keys according to bug #10
jimmy authored
400 ##############################################################
00dfa77 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
401 # The RSYNC method
0950922 - Changed configuration keys according to bug #10
jimmy authored
402 #############################################################
403
404 # Which directories should be backuped with rsync
b340bce 2005-12-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
405 export BM_UPLOAD_RSYNC_DIRECTORIES=""
0950922 - Changed configuration keys according to bug #10
jimmy authored
406
47614ef rsync is now an upload method.
jimmy authored
407 # Destination for rsync uploads (overrides BM_UPLOAD_DESTINATION)
408 export BM_UPLOAD_RSYNC_DESTINATION=""
409
0950922 - Changed configuration keys according to bug #10
jimmy authored
410 # The list of remote hosts, if you want to enable the upload
411 # system, just put some remote hosts here (fqdn or IPs)
47614ef rsync is now an upload method.
jimmy authored
412 # Leave it empty if you want to use the hosts that are defined in
413 # BM_UPLOAD_HOSTS
414 export BM_UPLOAD_RSYNC_HOSTS=""
415
416 # Do you want to dereference the files pointed by symlinks?
026f318 Version 0.6.1
sukria authored
417 # enter true or false (true can lead to huge archives, be careful).
418 export BM_UPLOAD_RSYNC_DUMPSYMLINKS="false"
0950922 - Changed configuration keys according to bug #10
jimmy authored
419
d29639d Initial revision
sukria authored
420 ##############################################################
8a97ae0 new confkeys
sukria authored
421 # Section "BURNING"
083cb8b 2005-12-09 Alexis Sukrieh,,, <set EMAIL_ADDRESS environment variable>
sukria authored
422 # - Automatic CDR/CDRW/DVDR burning
d29639d Initial revision
sukria authored
423 #############################################################
424
083cb8b 2005-12-09 Alexis Sukrieh,,, <set EMAIL_ADDRESS environment variable>
sukria authored
425 # the method of burning archives from the list :
6ba364f 2006-03-09 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
426 # - DVD : burn archives on a DVD medium
427 # (that doesn't need formatting, like DVD+RW).
083cb8b 2005-12-09 Alexis Sukrieh,,, <set EMAIL_ADDRESS environment variable>
sukria authored
428 #
6ba364f 2006-03-09 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
429 # - DVD-RW : blank the DVD medium and burn archives
430 # (recommanded for DVD-RW media).
083cb8b 2005-12-09 Alexis Sukrieh,,, <set EMAIL_ADDRESS environment variable>
sukria authored
431 #
6ba364f 2006-03-09 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
432 # - CDRW : blank the CDRW and burn the whole
433 # ARCHIVES_REPOSITORY or only
434 # the generated archives.
435 #
436 # - CDR : burn the whole ARCHIVES_REPOSITORY or
437 # only the generated archives.
438 # - none : disable the burning system
4b2f953 @kissifrot Fixed typos in comments, added a warning in template file about inter…
kissifrot authored
439 #
440 # Note that if backup-manager is run from interactive prompt you
441 # will be asked to insert disc(s) when needed
083cb8b 2005-12-09 Alexis Sukrieh,,, <set EMAIL_ADDRESS environment variable>
sukria authored
442
89e2bfe fixed some mistake in the default conffile
sukria authored
443 export BM_BURNING_METHOD="none"
d29639d Initial revision
sukria authored
444
674201f release 0.5.8b
sukria authored
445 # When the CD is burnt, it is possible to check every file's
446 # MD5 checksum to see if the CD is not corrupted.
89e2bfe fixed some mistake in the default conffile
sukria authored
447 export BM_BURNING_CHKMD5="false"
d29639d Initial revision
sukria authored
448
674201f release 0.5.8b
sukria authored
449 # The device to use for mounting the cdrom
d29639d Initial revision
sukria authored
450 export BM_BURNING_DEVICE="/dev/cdrom"
451
674201f release 0.5.8b
sukria authored
452 # You can force cdrecord to use a specific device
453 # Fill in the full path to the device to use or even
454 # e.g. BM_BURNING_DEVFORCED="/dev/cdrom"
455 # If none specified, the default cdrecord device will be used.
456 export BM_BURNING_DEVFORCED=""
e90e822 2006-01-05 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
457
64b890f 2006-06-30 Alexis Sukrieh <sukria@backup-manager.org>
sukria authored
458 # By default backup-manager will make Joliet media (using the mkisofs switches
459 # : "-R -J"). You can change these if you want to use non-Joliet disc images.
460 # Change this only if you know what you're doing. Refer to mkisofs(8) for
461 # details.
462 export BM_BURNING_ISO_FLAGS="-R -J"
463
79c645c 2005-11-08 Alexis Sukrieh <sukria@sukria.net>
sukria authored
464 # enter here the max size of your media
465 # (usal sizes are 4200 for DVD media and 700 or 800 for CDR media)
89e2bfe fixed some mistake in the default conffile
sukria authored
466 export BM_BURNING_MAXSIZE="650"
d29639d Initial revision
sukria authored
467
468
469 ##############################################################
470 # Advanced settings, use this with care.
471 #############################################################
472
7a80abf Now every backup methods are implemented in lib/backup-methods.sh
sukria authored
473 # Every output made can be sent to syslog
026f318 Version 0.6.1
sukria authored
474 # set this to "true" or "false"
475 export BM_LOGGER="true"
7a80abf Now every backup methods are implemented in lib/backup-methods.sh
sukria authored
476
d13a3dc new configuration variable: BM_LOGGER_LEVEL
Alexis Sukrieh authored
477 # Which level of messages do you want to log to syslog?
478 # possible values are : debug,info,warning,error
479 export BM_LOGGER_LEVEL="warning"
480
7a80abf Now every backup methods are implemented in lib/backup-methods.sh
sukria authored
481 # You can choose which facility to use
482 export BM_LOGGER_FACILITY="user"
483
d29639d Initial revision
sukria authored
484 # Enter here some shell script.
485 # It will be executed before the first action of backup-manager.
486 export BM_PRE_BACKUP_COMMAND=""
487
488 # Enter here some shell script.
489 # It will be executed after the last action of backup-manager.
490 export BM_POST_BACKUP_COMMAND=""
491
Something went wrong with that request. Please try again.