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