2 Release Notes for Bacula 1.38.9
4 Bacula code: Total files = 419 Total lines = 137,078 (*.h *.c *.in)
5 20,440 additional lines of code since version 1.36.3
7 Warning for version 1.38.8 and greater:
8 - The Windows FD no longer automatically folds the case
9 in wild-card comparions. To get the same behavior as before,
10 you must explicitly use "Ignore Case = yes" in your FileSet.
11 - Backslashes are no longer permitted in File directives
12 (typical error for Windows users), unless the string is
13 enclosed in double quotes, in which case, the backslashes
15 - The new algorithm for selecting Volumes from the Scratch
16 pool that was implemented in 1.38.6 and 1.38.7 is abandoned
17 in favor of a corrected version of the 1.38.5 algorithm.
19 New features for 1.38.9:
20 - A "Dir Status" button in the Gnome console.
23 This is mainly a bug fix release containing a collection of
24 minor fixes for 1.38.8.
25 - Added code to strip backslashes from Windows filenames during
27 - Corrected Win32 License to use the correct LICENSE file.
28 - Corrected the buffer count and bytes reported in the heap
30 - Fix a number of incorrect strings marked for translation, when
31 they should not be (e.g. commands).
32 - Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
33 Patches supplied by user in bugs #608 and #599.
34 - Use most recent of st_ctime and st_mtime in restore tree DIR
35 listing. This fixes some problems with Win32 printing incorrect
37 - Correct the clock shift comm time calculation between the DIR
38 and the FD. It was added rather than subtracted.
39 - Strip all backslashes in filenames to be restored on Win32
40 machines -- the names should all be in Unix format, and if
41 there are any backslashes it is most likely due to an improper
42 FileSet definition, and the files will not otherwise be
44 - Delete src/win32/License.txt
45 - Modify installer to install LICENSE
46 - Add back ua_label barcode fix from Rufolf Cejka.
47 - Add 'Dir Status' button to the gnome console.
48 - Display heap stats in Storage daemon without debug level.
49 - Implement using pg_config for finding PostgreSQL files.
50 Fixes bug #600. Patch supplied by user.
51 - Remove -t option from mktemp in mtx_changer.in and use
52 working directory. Fixes bug #578.
53 - Update job start time after the any run before job so that
54 files created by the script are only backed up once. Fixes
56 - Strip trailing newline only from filenames entered in
57 the restore command when reading a file. This permits
58 the user to enter filenames with trailing spaces. Fixes
59 bug #549. The user supplied a patch that I modified slightly.
60 - Use the most recent time (st_mtime, st_ctime) in the dir
61 command in restore. This gives the user a better idea of what
62 the newest file really is. This fixes bug #574. The fix
63 was suggested by the user.
64 - Remove the -f option from the chown in Makefile.in for more
66 - Change setting the group in Makefile.in to use chgrp for
68 - Implement a Bacula read/write lock for Python rather
69 than using the Python lock to avoid recursive problems.
70 - Correct the uninstall directory names in filed/Makefile.in
71 as reported by a user.
73 !!!! Important !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
74 In Bacula version 1.38.5 and prior, there was apparently a
75 compiler bug that caused the Storage daemon to seg fault.
76 I have applied a workaround in version 1.38.6 and greater that
77 seems to work. If you experience problems, follow the instructions
80 If you are compiling for a 64 bit machine, you need to ensure
81 that the code is compiled with the -O0 (- oh zero) option otherwise
82 the SD will crash on most all operations -- apparently due to
83 a compiler bug in gcc's 64 bit code generation.
84 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
87 New features for 1.38.8:
88 - Regex, RegexFile, and RegexDir are now implemented in the
89 Win32 FD. However, this is new experimental code that is
90 largely untested. It may not work, it may cause memory
91 leaks, or it may even crash the FD. Please test carefully
93 - On Linux/Unix systems there are two new programs, bregex
94 and bwild that allow you to test regular expressions and
95 wild-cards. These programs are installed with the other
96 binaries. They are not available on Win32 systems.
101 New Features from pre-1.38.8 releases:
102 - For autochanger get Scratch tape if in autochanger if
103 no appendable Volumes are available.
104 - New virtual disk autochanger. See scripts/disk-changer for
106 - New optional Device resource directive in SD. 'Device Type =',
107 which may have types: File, DVD, Tape, or FIFO. This can
108 be useful for writing DVDs on FreeBSD where Bacula cannot
109 correctly detect the DVD.
110 - Faster restore tree building and uses less memory.
111 - The command line keyword job (or jobname) now refers to the
112 name of the job specified in the Job resource; jobid refers
113 as before to the non-unique numeric jobid; and ujobid refers
114 to the unique job identification that Bacula creates for each
116 - The job report for Backups has a few more user friendly ways
117 of displaying the information.
118 - The wait command can now be made to wait for jobids.
119 - New command line keywords are permitted in update volume. They
120 are Inchanger=yes/no, slot=nn.
121 - Add two new console commands: enable job=<job-name> and
122 disable job=<job-name>. When a job is disabled, it will not
123 be started by the scheduler. If you disable a job and restart
124 Bacula or reload the .conf file, the job will be re-enabled.
125 - Add a new Job resource directive "enable = yes|no".
126 - There is a new program named regex in the tools directory that
127 allows you to try regular expressions on your system.
130 - Fix race condition in multiple-drive autochangers where
131 both drives want the same Volume.
132 - Do not allow opening default catalog for restricted console
134 - Writable FIFOs now work for restore.
135 - ACLs are now checked in all dot commands.
136 - Multiple drive autochangers and multiple different autochangers
137 should now work correctly (no race conditions for Volume names,
138 update slots use correct StorageId).
139 - Fix bug where drive was always reserved if a restore job failed
140 while in the reservation process.
146 Release 1.38.8 (14Apr06)
148 - Correct Makefile for Solaris /bin/sh
149 - Correct mtx-changer.in for Solaris /bin/sh
150 - Abort if a conf resource does not have a Name =
152 - Change the name of the regex program to bregex.
153 - Add the bwild program to the tools directory. It is similar
154 to the bregex program.
155 - Implement create bregex.h and bregex.c in src/lib from the
156 Python regexp program.
157 - Use the new bregex.c to implement Regex expressions on Win32.
159 - Modify Makefile to change the permissions on Working Directory
160 to 770 if the directory is created.
161 - Do not fail the Makefile if changing the permissions or
162 owner/group on WorkingDir fails.
163 - Correct the old recycling algorithm so that Scratch Volumes
164 are selected when looking for a Volume in the changer.
165 - Correct a typo in the Verify SQL reported by Joe Park.
167 - Remove automatic case folding on Windows FDs. You must
168 explictly use the 'Ignore Case = yes' option.
169 - Remove the code added to 1.38.6 and 1.38.7 that pulls a
170 scratch volume in an Autochanger early in the 'recycling'
173 - Tweak license to include Microsoft restrictions.
174 - Move mysql.reconnect to after real_connect(). Thanks to
175 Frank Sweetser for the patch.
176 - Disallow a backslash in a File = directive (Windows junk)
177 unless the string is quoted.
178 - Apply Eric's patch to ua_label.c so that daemon protocol
181 Release 1.38.7 (06Apr06) released 07Apr06
183 - Remove timed wait for VSS on Win2K3 as it is not yet
185 - Correct bacula.in script to reference bacula-ctl-xx in the
186 sysconfig directory rather than the bin directory.
188 Release 1.38.6 (28Mar06) released 29Mar06
190 - Back port from 1.39 fixes to lib/jcr.c to use foreach_jcr()
191 and new jcr chain locking.
193 - Fix a long standing bug in the bacula start/stop scripts.
194 - Attempt to add the new bacula-ctl-* files to the rpm.
195 - Switch to using typeof() for list traversing to avoid
196 as many FC5 g++ compiler warnings as possible.
198 - Split the bacula start/start script into four files:
199 bacula -- starts and stops calling other scripts
200 bacula-ctl-dir -- starts/stops the director
201 bacula-ctl-fd -- starts/stops the File daemon
202 bacula-ctl-sd -- starts/stops the Storage daemon
203 - Create datestyle fix for PostgreSQL. Fixes bug #574.
204 - Correct editing of JobId from int to int64 in fd_cmds.c
205 - Eliminate FileSet name race with bash_spaces() and multiple
206 threads by bashing in a local.
207 - Fix error return from 'use storage' to print a correct error
208 message rather than nothing.
209 - Correct false re-read last block error message when two jobs
210 are simultaneously writing at the end of a tape.
211 - Simplify exit conditions in the reserve.c code to avoid
212 possible non-release of reservation_lock().
213 - Suffle lock order in reserve to avoid deadlock between
214 reservation lock and device mutex.
215 - Add Thorsten's VSS timeout code to 1.38 branch.
216 - Initialize jcr mutex before first use. Thanks to Thorsten for
217 tracking this down for me !!!! as it broke the Win32 build.
218 - Integrate addition of line count limitation to bsmtp -l from
219 Sebastian Stark <stark at tuebingen.mpg.de>
220 - Implement regex test program in tools directory.
221 - Attempt to fix time problem with bsmtp with foreign langs.
222 - Add strip_trailing_newline() submitted by user.
224 Release 1.38.6 beta6 16Mar06
225 - Fix bug #537 to allow arbitrary time to mount a volume for
226 restore, if polling is turned on.
227 - Disallow multiple storage specifications for a job. Should fix Arno's
229 - Add back a missing store of poolid in jr.poolid.
230 - If dir_user or dir-group is specified in ./configure apply it to
231 the working-dir. Fixes bug #533.
232 - If rescheduling a job cancel the previous incarnation with the SD.
233 Fixes bugs #566 and 557.
234 - Fix bug #567 do_message() definition type conflict.
236 Release 1.38.6 beta5 14Mar06
237 - Add more jcr methods and make mutex and use_count private.
238 - Create lock/unlock methods for jcr.
239 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
240 records to get to seek position.
241 - Integrate patch from bug #561 to correct conio.c signal definitions.
242 - Fix Rescheduling failed Jobs. Ensure that SD message thread
243 terminates correctly by doing pthread_kill(). Do not destroy
244 SD cond wait variable between executions of the job. Use local
245 mutex for cond variable to avoid blocking jcr chain. Fix poor
246 use of jcr use count in jobq.c for restarted jobs.
247 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
248 lib/jcr.c -- prevents locking the jcr chaing.
249 - Apply patch from bug #564, which corrects listing volumes with
250 multiple autochangers. Apply same fix to next volume list.
251 - Fix bug #562 where restore bootstrap file is not unique.
252 - Use new routine lock_reservations() to lock the reservations
253 system, and call it while looking for a volume in askdir.c.
254 This could possibly fix bug #543.
255 - Stop SD command loop if job is canceled.
257 Release 1.38.6 beta3 4Mar06
259 - The po files should now be current.
260 - Fix new sql_use_result() code to properly release the
261 buffers in all cases.
262 - Convert to using new Python class definitons with (object).
263 - Use the keyword ujobid to mean the unique job id; job or jobname
264 to mean the Job name given on the Name directive, and jobid to
265 be the numeric (non-unique) job id.
266 - Allow listing by any of the above.
267 - Add the user friendly job report code for reporting job elapsed time
268 and rates with suffexes.
269 - Add Priority and JobLevel as Python settable items.
270 - Use TEMPORARY table creation where the table is created by
272 - Add new code submitted by Eric for waiting on specific jobid.
273 - Add ACL checking for the dot commands.
274 - Fix restore of writable FIFOs.
275 - Fix a bug in bpipe where the string was freed too early.
278 - Fix bug reported by Arno listing blocks with bls
279 - Update the po files at Eric's request.
281 Release 1.38.6-beta2 25Feb06
283 - Add sql_use_result() define.
285 Changes to 1.38.6-beta1
286 - Don't open default catalog if not in ACL.
287 - Add virtual disk autochanger code.
288 - Add user supplied bug fix to make two autochangers work
289 correctly using StorageId with InChanger checks.
290 - Correct new/old_jcr confusion in copy_storage().
291 - Remove & from Job during scan in msgchan.c -- probably
293 - When getting the next Volume if no Volume in Append mode
294 exists and we are dealing with an Autochanger, search
295 for a Scratch Volume.
296 - Check for missing value in dot commands -- bug fix.
297 - Fix bug in update barcodes command line scanning.
298 - Make sure Pool Max Vols is respected.
299 - Check that user supplied a value before referencing
300 it in restore -- pointed out by Karl Hakimian.
301 - Add Karl Hakimian's table insert code.
302 - Don't ask user to select a specific Volume when
303 updating all volumes in a Pool.
304 - Remove reservation if set for read when removing dcr.
305 - Lock code that requests next appendable volume so that
306 two jobs to get the same Volume at the same time.
307 - Add new Device Type = xxx code. Values are file, tape,
309 - Preserve certain modes (ST_LABEL|ST_APPEND|ST_READ) across
310 a re-open to change read/write permission on a device.
311 - Correct a misplaced double quote in certain autochanger
313 - Make make_catalog_backup.in a bit more portable.
314 - Implement Karl Hakimian's sql_use_result(), which speeds
315 up restore tree building and reduces the memory load.
316 - Correct a number of minor bugs in getting a Volume from
318 - Implement additional command line options for update Volume.
319 - Don't require user to enter a Volume name when updating
320 all Volumes in a pool.
322 Release 1.38.5 released 19Jan06:
323 - Apply label barcodes fix supplied by Rudolf Cejka.
324 - Modify standard rpm installation to set SD group to disk
325 so that SD will by default have access to tape drives.
326 - Allow users to specify user/group and start options
327 for each daemon in /etc/sysconf/bacula file.
329 Changes to 1.38.4 released 17Jan06:
330 - The main changes are to the Director and the Storage daemon,
331 thus there is no need to update your File daemons. Just the
332 same, I do recommend running with the release 1.38.3 Win32
334 - Add two new queries to query.sql provided by Arno. One
335 list volumes known to the Storage device, and the other
336 lists volumes possibly needing replacement (error, ...).
337 - Add periodic (every 24 hours) garbage collection of memory
338 pool by releasing free buffers.
339 - Correct bug counting sized (for display only) in smartall.c
340 - Print FD mempool stats if debug > 0 rather than 5.
341 - Correct bug in alist.c that re-allocated the list if the
342 number of items goes to zero.
343 - Move the reservation system thread locking to the top level
344 so that one job at a time tries all possible drives before
346 - Implement a reservation 'fail' message queue that is built
347 and destroyed on each pass through the reservation system.
348 These messages are displayed in a 'Jobs waiting to reserve
349 a drive' list during a 'status storage='. Note, multiple
350 messages will generally print for each JobId because they
351 represent the different problems with either the same drive
352 or different drives. If this output proves too confusing
353 of voluminous, I will display it only when debug level 1
354 or greater is enabled in the SD.
355 - Add enable/disable job=<job-name>. This command prevents
356 the specified job from being scheduled. Even when disabled,
357 the job can be manually started from the console.
358 - During 'update slots' clear all InChanger flags where the
359 StorageId is zero (old Media records).
360 - Fix autochanger code to strip leading spaces from returned
361 slots number. Remove bc from chio-changer.
362 - Back port a bit of 1.39 crypto code to reduce diffs.
363 - Fix first call to autochanger that missed close()ing the
364 drive. Put close() just before each run_program(). Fixes
366 - Add PoolId to Job record when updating it at job start time.
367 - Pull in more code from 1.39 so that there are fewer file
368 differences (the new ua_dotcmds.c, base64.h, crypto.h
369 hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
370 util.c. Aside from ua_dotcmds.c these are mostly crypto
372 - Implement new method of walking the jcr chain. The
373 incr/dec of the use_count is done within the walking
374 routines. This should prevent a jcr from being freed
375 from under the walk routines.
378 Changes to 1.38.3 released 05Jan06:
379 - This is mainly a bug release fix. In addition, the multiple drive
380 reservation algorithm has been rewritten.
381 - In addition, the method of handling waiting for tapes to be
382 mounted and the mount messages has been modified.
383 (the above two items are a potential source of problems).
384 - Simplify code in askdir.c that waits for creating an appendable
385 volume so that it can handle multiple returns from the wait code.
386 - Modify the wait code to permit multiple returns.
387 - Return a zero when 'autochanger drives' is called and
388 it is not an autochanger.
389 - Make rewind_dev() a method taking a DCR as an argument.
390 This permits closing and reopening the drive if the
391 rewind fails as happens if the drive was loaded while the
392 file descriptor was open. This refreshes the file descriptor.
393 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
394 if the device is open or not. This should eliminate
396 - Return error if reserve cannot find at least one suitable device.
397 - Make wait_for_sysop() return correct state information.
398 - Fix Win32 state file problem. write was not using compat
399 code. This should fix bug #500.
400 - Modify gui on command to set only GUI mode and not batch.
401 - Modify .messages command to always print messages regardless
403 - If GUI mode is on, suppress automatic printing of
405 - Modify restore command in wx-console to set gui on and to use
406 only .messages instead of messages. Hopefully this fixes bug
408 - Implement load balancing code with multiple drive autochangers.
409 - Rewrite reservation algorithm again. Rename variables to be
410 more logical, add HEARTBEAT with Director, allow cancel of
411 jobs stuck in reservation, add last resourt any_drive.
412 - Fix seg fault if user labels a drive directly bug #513
413 - Remove quotes around Version as it breaks things.
414 - Merge in Aleksandar Milivojevic's mods to the spec file.
415 - Apply sparse code fix for raw drives and fifos. Bug 506
416 - Thorsten fixed Unicode cd problem with wx-console bug 505.
417 - Correct reservation system to do a last ditch try
418 for any mounted volume, then anyone anywhere.
419 - Updates to ssh-tunnel from Joshua Kugler.
420 - Added a report.pl program from Jonas Bjorklund.
421 - Simplify the O_NONBLOCK open() code for tape drives,
422 and always open nonblocking.
423 - Do not wait for open() if EIO returned (shouldn't happen).
424 - Eliminate 3 argument to tape open().
425 - Correct the slot # edited in the 3995 Bad autochanger unload
427 - With -S on bscan (show progress) do not divide by zero.
428 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
429 - When dcr is freed, also broadcast dev->wait_next_vol signal.
430 - Remove unused code in wait_for_device.
431 - Make wait_for_device() always return after 60 seconds of wait.
432 - Use localhost if no network configured
433 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
434 - Update specs to include mysql4 define.
435 - Return rec->FileIndex in dcr->VolLastIndex for normal
436 and partial records in read_record(). This allows bscan
437 to get FileIndex at EOT correct.
438 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
439 - Apply patch supplied by user (slightly modified) to fix
440 correct detection of holes in block devices and FIFOs.
442 - Apply patch supplied by user (slightly modified)
443 to fix SD hang with multiple pools and bad client
445 - Add nagios plugin to the examples directory. Submitted by
447 - Remove warning message about multiple saves of hardlinked files
448 from find_one.c as it can generate too many warning messages.
449 - Reset timeout values before select() per patch from
450 Frank Sweetser for problems with non-blocking sockets.
451 - Unlink the state file if either reading or writing it gets
452 errors. Hopefully this will fix Win32 exit problems.
453 - Get next volume from Scratch pool before creating a volume.
454 - Set new Pool defaults in Vol when moved from Scratch Pool.
455 - Remove argument from create_bacula_database for SQLite as it
457 - Fix reservation so that mutexes are properly applied.
458 - Rework reservation algorithm so that two drives can be used
460 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
461 If this patch is applied, the number of days can be specified with
462 'list nextvol days=xx'
465 My use case is to be able to preview the next scheduled job (and the
466 next tape to be used) on fridays if there are no scheduled jobs during
468 - Fix font code in gnome2 console user patch. Fixes bug #501.
469 - Fix malformatted bnet error message that caused seg fault
471 - Applied user patch to improve README.vc8 in src/win32.
472 - Ensure that StorageId is stored in Media record when ever possible.
473 - Remove old code from winservice.cpp
474 - Break on error in scan.
475 - Fix typo in signal.c
476 - Separate read/write DCR in SD. Add jcr->read_dcr.
477 - Cleanup how find_device() works.
478 - Remove abs() in bfile.c so that it compiles on Solaris. Bug #491.
481 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
482 - Fix bnet-server bug found on OpenBSD. Bug #486
483 - Fix cancel failure bug. Bug #481
484 - Fix failure when Pool name has spaces. Bug #487
485 - Fix SD crash in autochanger code. Mutex failure. Bug #488
486 - Fix a couple of free()s in src/filed/acl.c
487 - Fix memory overrun in bfile.c in building OS X resource
488 fork filename. Bug #489
489 - Add Pool name to SD status output.
490 - Add Python install dir for Solaris to configure. Bug #492
493 - Corrected ACL for Solaris (David Duchscher and Attila Fulop).
494 - Add bacula_mail_summary.sh to examples directory. It makes
495 a single email summary of any number of jobs. Submitted
497 - Unmount command now unloads autochanger.
498 - Fix hang in FD (Martin Simmons)
499 - Fix Win98 stat() problem in FD (Thorsten Engel)
500 - Fix update slots which did not clear missing tapes.
501 - Fix autostart install for FreeBSD (user reported)
502 - Fix several problems with PostgreSQL scripts (Eric Bollinger)
503 - Critical: allow restore of the first file of non-portable Win32 backup.
504 - Important: with muliple concurrent jobs the autochanger could get
505 confused because of a missing mutex.
506 - Fix accessing last slot in label and update slots.
507 - Modify configure.in to add execute option to sqlite3 catalog
509 - Create update_xxx_table_8_to_9 scripts for updatedb
510 - Move the -lcrypt for PostgreSQL after the PostgreSQL libs in
511 autoconf/bacula-macros/db.m4 as suggested by user. Fixes bug #457.
512 - Remove @STATIC_CONS@ from tray-monitor Makefile as suggested
513 by user. Fixes bug #456.
514 - AMD64 users see compiler bug warning below!!!!!!!!!
516 Major Changes in 1.38:
517 - Fixed out of order Volumes in restore.
518 - Improved algorithm for reserving drives in multiple drive
519 autochangers. Autochange users MUST use the new Autochanger
520 resource in the Storage daemon.
521 - There is a new database format that is not compatible
522 with previous databases. You must upgrade if converting
523 from 1.36.x. No changes from version 1.37.30.
524 - The Director, Storage daemon, and File daemons are
525 Deamons are not compatible with prior versions.
526 All FDs must be upgraded at the same time.
527 - Support for ANSI/IBM labels.
528 - Faster database inserts due to combining the MD5/SHA1 into
529 the attributes record, eliminating one INSERT/file backed up.
530 - Python Event support has been added. See below for
531 configuration and details. The implementation is somewhat minimal,
532 so the functionality is not complete. The Python interface
533 has not been extensively tested, so please consider it BETA.
534 - DVD writing support, using parts, and some new directives in
535 the Device resource of the Storage configuration file thanks
536 to Nicolas Boichat. Please note that this code is still
537 BETA and should be carefully tested before using in
539 - Seven new options keywords in a FileSet resource:
540 ignorecase, fstype, hfsplussupport, wilddir, wildfile, regexdir,
541 and regexfile thanks to Pruben Guldberg). See below for details.
542 - Restore of all files for a Job or set of jobs even if the file
543 records have been removed from the catalog.
544 - Restore of a directory (non-recursive, i.e. only one level).
545 - Support for TLS (ssl) between all the daemon connections thanks
547 - Any Volume in the Pool named Scratch may be reassigned to any
548 other Pool when a new Volume is needed.
549 - You may clone a Job and thus write (almost) the same data
550 to multiple Volumes simultaneously (see below). Actually,
551 any Job may start any other Job with this mechanism, so it
552 also be used to group jobs.
553 - Unicode filename support for Win32 (thanks to Thorsten Engel)
554 - Volume Shadow Copy support for Win32 thus the capability to
555 backup exclusively opened files (thanks to Thorsten Engel).
556 A VSS enabled Win32 FD is available. You must explicitly
557 turn on VSS with 'Enable VSS = yes' in your FileSet resource.
558 - New manual format with an index (thanks to Karl Cunningham).
559 - New Web site format (thanks to Michael Scherer).
561 - Web-bacula, previously a separate project by Juan Luis Frances,
562 is now included in the Bacula GUI release. This is a management
563 level tool for reporting the state of Bacula jobs.
564 - The code is now Internationalized so that it can be localized
565 in native languages. Thanks to Nicolas Boichat.
568 - New Job directive 'Prefer Mounted Volumes = yes|no' causes the
569 SD to select either an Autochanger or a drive with a valid
570 Volume already mounted in preference. If none is available,
571 it will select the first available drive.
572 - New Run directive in Job resource of DIR. It permits
573 cloning of jobs. To clone a copy of the current job, use
574 Run = 'job-name level=%l since=\'%s\''
575 Note, job-name is normally the same name as the job that
576 is running but there is no restriction on what you put. If you
577 want to start the job by hand and use job overrides such as
578 storage=xxx, realize that the job will be started with the
579 default storage values not the overrides. The level=%l guarantees
580 that the chosen level of the job is the same, and the since=...
581 ensures that the job uses *exactly* the same time/date for incremental
582 and differential jobs. The since=... is ignored when level=Full.
583 A cloned job will not start additional clones, so it is not possible
585 - New Options keywords in a FileSet directive (backported to 1.36.3):
587 Will do a wild card match against directories (files will not
590 Will do a wild card match against files (directories will not
593 Will do a regular expression match against directories (files
594 will not be matched).
596 Will do a regular expression match against files( directories
597 will not be matched).
598 - IgnoreCase = yes | no
599 Will ignore case in wild card and regular expression matches.
600 This is handy for Windows where filename case is not significant.
602 where string is a filesystem type: ext2, jfs, ntfs, proc,
603 reiserfs, xfs, usbdevfs, sysfs, smbfs, iso9660. For ext3
604 systems, use ext2. You may have multiple fstype directives
605 and thus permit multiple filesystem types. If the type
606 specified on the fstype directive does not match the
607 filesystem for a particular directive, that directory will
608 not be backed up. This directive can be used to prevent
609 backing up non-local filesystems.
610 - HFS Plus Support = yes | no
611 If set, Mac OS X resource forks will be saved and restored.
612 - Label Type = ANSI | IBM | Bacula
613 Implemented in Director Pool resource and in SD Device resource.
614 If it is specified in the SD Device resource, it will take
615 precedence over the value passed from the Director to the SD.
616 - Check Labels = yes | no
617 Implemented in the SD Device resource. If you intend to read
618 ANSI or IBM labels, this *must* be set. Even if the volume
619 is not ANSI labeled, you can set this to yes, and Bacula will
620 check the label type.
621 - Scripts Directory = <directory> name. Defines the directory from
622 which Bacula scripts will be called for events. In fact, Bacula
623 appends this name to the standard Python list of search directories,
624 so the script could also be in any of the Python system directories.
625 - In FileSet, you can exclude backing up of hardlinks (if you have
626 a lot, it can be very expensive), by using:
628 in the Options section. Patch supplied by David R Bosso. Thanks.
629 - MaximumPartSize = bytes (SD, Device resource)
630 Defines the maximum part size.
631 - Requires Mount = Yes/No (SD, Device resource)
632 Defines if the device require to be mounted to be read, and if it
633 must be written in a special way. If it set, the following directives
634 must be defined in the same Device resource:
635 + Mount Point = directory
636 Directory where the device must be mounted.
637 + Mount Command = name-string
638 Command that must be executed to mount the device. Before the command
639 is executed, %a is replaced with the Archive Device, and %m with the
641 + Unmount Command = name-string
642 Command that must be executed to unmount the device. Before the
643 command is executed, %a is replaced with the Archive Device, and
644 %m with the Mount Point.
645 + Write Part Command = name-string
646 Command that must be executed to write a part to the device. Before
647 the command is executed, %a is replaced with the Archive Device, %m
648 with the Mount Point, %n with the current part number (0-based),
649 and %v with the current part filename.
650 + Free Space Command = name-string
651 Command that must be executed to check how much free space is left
652 on the device. Before the command is executed, %a is replaced with
653 the Archive Device, %m with the Mount Point, %n with the current part
654 number (0-based), and %v with the current part filename.
655 - Write Part After Job = Yes/No (DIR, Job Resource, and Schedule Resource)
656 If this directive is set to yes (default no), a new part file will be
657 created after the job is finished.
658 - A pile of new Directives to support TLS. Please see the TLS chapter
662 - 'python restart' restarts the Python interpreter. Rather brutal, make
663 sure no Python scripts are running. This permits you to change
664 a Python script and get Bacula to use the new script.
666 New configure options:
667 - --with-libintl-prefix for defining alternate locations for
668 the NLS internationalization libraries. Not normally required.
669 - --datadir for defining where the language files will be installed
670 required only if you do not want the default /usr/share.
673 - The Storage daemon now keeps track of what tapes it is using
674 (was not the case in 1.36.x). This means that you must be much
675 more careful when removing tapes and putting up a new one. In
676 general, you should always do a 'unmount' prior to removing a
677 tape, and a 'mount' after putting a new one into the drive.
678 - If you use an Autochanger, you MUST update your SD conf file
679 to use the new Autochanger resource. Otherwise, certain commands
680 such as 'update slots' may not work.
681 - You must add --with-python=[DIR] to the configure command line
682 if you want Python support. Python 2.2, 2.3 and 2.4 should be
683 automatically detected if in the standard place.
684 - When linking with --with-python, there are a few warnings that
686 - You must either create a new catalog database or upgrade your
687 old database. After installation, run from your scripts
690 ./upgrade_bacula_tables
692 You can also find this script in the <bacula-source>/src/cats
694 - The Director, Storage daemon, and File daemons are
695 Deamons are not compatible with prior versions.
696 All FDs must be upgraded at the same time.
697 - You must add --with-openssl to the configure command line if
698 you want TLS communications encryption support.
699 - Disk seeking during restores does not yet work correctly in
700 all cases, so it is turned off.
701 - Note, with gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) on an
702 AMD64 CPU running 64 bit CentOS4, there is a compiler bug that
703 generates bad code that causes Bacula to segment fault.
704 Typically you will see this in the Storage daemon first. The
705 solution is to compile Bacula ensuring that no optimization is
706 turned on (normally it is -O2).
707 This same compiler bug has been reported and confirmed with
708 gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) running on
709 an AMD64 CPU. This for the moment, I would recommend that all
710 users of GCC 4.0.1 or greater turn off all optimization when
715 - Security fixes for temp files created in mtx-changer, during
716 ./configure, and during making of Rescue disk.
717 - A new script, dvd-handler, in the scripts directory,
718 which is designed to be used as parameters to Write Part Command and
719 Free Space Command. They need the dvd+rw-tools to be installed
720 (http://fy.chalmers.se/~appro/linux/DVD+RW/) AND, the growisofs
721 program must be patched using the
722 <bacula-source>/patches/dvd+rw-tools-5.21.4.10.8.bacula.patch
723 You must have Python installed to run the scripts.
724 - Part files support: File volumes can now be split into multiple
725 files, called 'parts'.
726 - For the details of the Python scripting support, please see the new
727 Python Scripting chapter in the manual.
728 - The default user/group for the Director and Storage daemon installed
729 by rpms is bacula/bacula, thus you may need to add additional permissions
730 to your database, or modify the permissions of the tape drive. If
731 all else fails, change to using user=root. However, it is more secure