Important changes since last release:
19Feb13
- Fix build/configure problems with bpluginfo.c
- Refactor lock_volumes so most lock a vol rather than globally
- Add virtualfull-extreme test
- Apply patch for chio-changer-openbsd -- Implements listall
- Add bat Mac patch
- Fix bug cannot run Copy/Migrate jobs from bat
- Fix loading of bat translations.
- Fix text input in bat.
- Remove Device from show command as it is not used or updated
- Fix update enabled keyword in help command
- Fix update_postgresql_tables 10 to 11
- Clean after building doc binaries
- Require Qt version 4.8.4
- Fix bug that OK to run? does not retry on bad response
- Backport new lock calls + debug for SD
- Fix bug new label ignored when first is duplicate.
- Pull src/lib changes from master
- Pull SD files from master
- Turn off prune-test
- Add logdir and bsrdir to regression config
- Add bsrdir and logdir to regress-config
- Changed default directories from /var/bacula to /opt/bacula
- Make spool size max message more explicit
- Display more info when maximum spool size is reached
- Fix TERM defs for Solaris 11 in conio.c
- Allow group to cd to sysconfdir
- Make sysconfdir belong to Bacula user/group and exclude others
- Fix Virtual Full file close bug -- race condition
- Enhance mount message to include read/append
- Improve vol_mgr swap messages
- Enhance output of Using Device to include for read/write
- Add jobid to Pmsg output
- Fix bug input validation on delete of jobs.
- Fix bug Authorization Errors false
- Add workaround for where autoprune and reload are in deadlock
- Allow conf file quoted strings to be used in a list
- Make bfgets handle very long lines
- Avoid seg fault by checking for NULL client -- reported by Arno
- Fix bug MailOnSuccess get executed on error.
- Fix missing index on Media table
- Fix bug no message storage on closed database connection.
- Fix bug Fix problem with MySQL with big Base jobs.
- Reduce wait time in regression RunScripts
- Implement a timeout on regression tests of 15 minutes
- Fix .bvfs_lsfiles and .bvfs_restore to handle deleted files
- Fix spooldata, accurate and ingnoreduplicate run argument
- Fix messages segfault
- fix about PATH_MAX on hurd
- fix about MAXPATHLEN on hurd
- Fix bug OpenBSD autochanger example script
- Fix about MaxRunTime canceling the job too early
- Fix bug Wrong values at media list in BAT
- Fix race condition in close_msg that causes seg fault
- Fix double unlink
- More tests for freeing NULL pointers
- Add MaximumConcurrentReadJobs directive to Storage resource
- Add ujobid to .bvfs_get_jobids
- Avoid problem when stripping a relative path
- Fix about HIDDEN attribute set to parent directory during restore
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
- A new bpluginfo utility tool
- Make dump_resource respect console ACL's (security fix)
- Add chio-changer-openbsd submitted in bug #1903
- Important Copy job bug fixed.
Major changes since 5.2.9:
- IPv6 networking should work correctly now
- SQL Counter problems resolved
- Bat hanging after running a number of jobs
- dbcheck rw_writelock problem
- Windows VSS restore bug
New Feature:
- Add rudimentary support for backing up AFS
More complete changelog at: http://www.bacula.org/en/?page=news
This 5.0.3 version is significant bug fix update to version 5.0.2.
It includes new code and some new features.
There is no database change since prior versions of 5.0.
Compatibility:
--------------
As always, both the Director and Storage daemon must be upgraded at
the same time.
Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.3
Director and Storage daemons. There should be no need to upgrade older File
Daemons.
Changes and New Features:
- If a VSS (Windows) snapshot fails, the whole Job is failed, previously
it printed a warning message and continued.
- New editing codes %b = Job Bytes and %f = Job Files for runscripts
- Any non-Bacula project plugins (i.e. third party plugins)
must be upgraded to specify AGPLv3 in place of the GPLv2 used previously
for the PLUGIN_LICENSE.
- The bat Media page text columns can be sorted by clicking on the column.
- If possible, the SD will automatically update the catalog Volume size if
it does not match the Volume size. The mismatch between the Volume sizes
typically occurs when the FD has a comm line drop or the FD crashes.
* We believe that we have resolved most of the problems
concerning canceled or failed jobs being "stuck" in the
Director. There is one outstanding problem in the SD when
canceling jobs that we will fix in the next major release.
If you see jobs that seem to be stuck, in general issuing
a cancel command in bconsole should now make them go away.
Directives:
* The default for "Allow Duplicate Jobs" has been changed from
no to yes. If you use this directive, please check your
conf file, and note the next two items!
* AllowHigherDuplicates disabled. It did not work as documented
and was confusing.
* New directive "CancelLowerLevelDuplicates" See New Features
section in the manual.
* Truncate on Purge rewritten. See New Features section in the manual.
* Bug fixes
* Ensure SD asks for help when looping even if poll set.
* Fix three-pool regress bug
* This version fixes an issue where the console window would start out
docked. It is fixed by initiating the variables in the Pages class wi
constructor.
* Fix make_catalog_backup.pl fails when catalog db is on other host
* Fix 1352 about double free with regexp and big filenames on windows
* Apply Graham's idea for recovering from disk full by recursing
when doing fixup_write_error ...
* Make fix for VirtualFull changing device
* Fix concurrent Job recycle bug 1288
* Backport part of one possible fix from bug 1346
* Fix bug 1382 newly created disk volumes -> file not found warning
* Fix Alpha ifdefing -- should fix bug 1359
* Use old code for selecting file during restore.
* tweak space on projects file
* Fix seg fault in ignoredir code
* Apply Frank's slash patch
* Add more info when SD-connection refused
* Fixes bug 1371 about segfault in SD
* Fixes bug 1355 Director crashes with double free in Accurate SQL query
* Fixes bug 1365 and 1366 about MacOSX resource forks.
* Fixes bug 1369 about "Exclude Dir Containing" fileset option
* Fixes bug 1368 ASSERT Failure on MacOS.
* Fixes bug 1364 and 1363 about compression buffer error.
* Fix 1323 about a problem when mounting a requested volume during a restore.
* Add more example SD Device configurations.
* Force the client_encoding to SQL_ASCII when database is already using this
mode.
* Fix 1335 about postgresql error message during copy session
* Cleanup old job records when starting the director (Created/Running -> Failed)
* Apply patch in bug 1315 by McMichaeli that fixes scripts/logwatch
* Add more output when spooling and no space left
* Fix postgresql driver bug that displayed <NULL> rows from time to time.
* Implement the project 'restore' menu: enter a JobId, automatically
select dependents
* Should fix 1323 about verify accurate jobs and deleted files.
* more...
* Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
a non created job faster.
* Fix typo in configure.in that breaks --with-db-password option
* Remove all double quotes from SQLite creating script and
replace by single quotes as suggested by John Huttley.
* Fix SQL case problem that may cause the failure of DiskToCatalog.
* Copy missing storage name into edit buffer. As far as I can tell
this never caused a bug.
* Remove catalog dependency for bcopy
* Modify catalog scripts to have an easier packaging integration,
using default variables.
Make difference between SQLite3 and SQLite in db_get_type()
job when reading from one autochanger and writing to another.
* Add more information to SD acquire.c INFO messages.
* Fix NULL Volume name error when reading and the drive must
be switched.
* Fix a Verify InitCatalog problem where in certain cases
a garbage filename may be entered in the verification database.
* Add space after version before date in bat about dialog.
* Fix seg fault in Dir during estimate command with no level value given.
* Add message to migration job when the target job is already migrated.
the 2.0.x series. Major new features include:
- Much faster insertion of attributes (somewhere around 10 times),
many thanks to Eric Bollengier and Marc Cousin.
- First release of bat (Bacula Administration Tool). Note to build
bat you must explicitly enable it on the ./configure line, you
must have the Qt4 version 4.2 or later libraries loaded, the qwt
(Qt Graphics) package loaded, and qmake and the other Qt4 tools
must be available. Most of the implementation was done by Dirk Bartley.
- Red/Black restore in memory tree (500 times faster loading).
- The Regex Where code to allow easier relocation of restored files
thanks to Eric.
- Socket level heartbeat for all connections (untested).
- posix_fadvise() use in the FD to improve performance reduces
swapping due to opening/reading lots of files. Win32 equivalent
implemented.
- Much improved Volume reservation code that should eliminate most
conflicts experienced in multiple drive autochangers.
- Simpler locking in the SD in the reservation system.
- Detection of file size/date change during backup if enabled.
- New Recycle Pool feature -- thanks to Eric.
- Efficient implementation of very large include/exclude lists.
- Volumes are no longer pruned during 'status dir'
- Pruning is now more efficient, and if a Volume is purged,
during pruning, it is immediately discovered.
- License is now GPL v2 without modifications, fix a few copyright
mistakes made when adding FSFE copyright notice.
Important upgrade notes are mentioned in the MESSAGE file.
XXX Not (functionally) tested by myself, but Peter Eisch <peter@boku.net>
(via pkgsrc-users@NetBSD.org) verified the patch in his setup.
Changes since the 1.38.8 release:
- Added code to strip backslashes from Windows filenames during
a restore.
- Corrected Win32 License to use the correct LICENSE file.
- Corrected the buffer count and bytes reported in the heap
statistics.
- Implement an NT_() macro to indicate that text should NOT
be translated.
- Fix a number of incorrect strings marked for translation, when
they should not be (e.g. commands).
- Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
Patches supplied by user in bugs #608 and #599.
- Use most recent of st_ctime and st_mtime in restore tree DIR
listing. This fixes some problems with Win32 printing incorrect
values.
- Correct the clock shift comm time calculation between the DIR
and the FD. It was added rather than subtracted.
- Strip all backslashes in filenames to be restored on Win32
machines -- the names should all be in Unix format, and if
there are any backslashes it is most likely due to an improper
FileSet definition, and the files will not otherwise be
restorable.
- Remove lib/regex.c (replaced by bregex.c).
- Delete src/win32/License.txt
- Modify installer to install LICENSE
- Add back ua_label barcode fix from Rufolf Cejka.
- Add 'Dir Status' button to the gnome console.
- Display heap stats in Storage daemon without debug level.
- Integrate most of the MinGW changes -- more to do.
- Implement using pg_config for finding PostgreSQL files.
Fixes bug #600. Patch supplied by user.
- Remove -t option from mktemp in mtx_changer.in and use
working directory. Fixes bug #578.
- Update job start time after the any run before job so that
files created by the script are only backed up once. Fixes
bug #599.
- Strip trailing newline only from filenames entered in
the restore command when reading a file. This permits
the user to enter filenames with trailing spaces. Fixes
bug #549. The user supplied a patch that I modified slightly.
- Use the most recent time (st_mtime, st_ctime) in the dir
command in restore. This gives the user a better idea of what
the newest file really is. This fixes bug #574. The fix
was suggested by the user.
- Remove the -f option from the chown in Makefile.in for more
portability.
- Change setting the group in Makefile.in to use chgrp for
more portability.
- Implement a Bacula read/write lock for Python rather
than using the Python lock to avoid recursive problems.
- Correct the uninstall directory names in filed/Makefile.in
as reported by a user.
patch-ak has been applied upstream.
Release Notes for Bacula 1.38.6:
New features:
- For autochanger get Scratch tape if in autochanger if
no appendable Volumes are available.
- New virtual disk autochanger. See scripts/disk-changer for
documentation.
- New optional Device resource directive in SD. 'Device Type =',
which may have types: File, DVD, Tape, or FIFO. This can
be useful for writing DVDs on FreeBSD where Bacula cannot
correctly detect the DVD.
- Faster restore tree building and uses less memory.
- The command line keyword job (or jobname) now refers to the
name of the job specified in the Job resource; jobid refers
as before to the non-unique numeric jobid; and ujobid refers
to the unique job identification that Bacula creates for each
job.
- The job report for Backups has a few more user friendly ways
of displaying the information.
- The wait command can now be made to wait for jobids.
- New command line keywords are permitted in update volume. They
are Inchanger=yes/no, slot=nn.
- Add two new console commands: enable job=<job-name> and
disable job=<job-name>. When a job is disabled, it will not
be started by the scheduler. If you disable a job and restart
Bacula or reload the .conf file, the job will be re-enabled.
- Add a new Job resource directive "enable = yes|no".
Major bug fixes:
- Fix race condition in multiple-drive autochangers where
both drives want the same Volume.
- Do not allow opening default catalog for restricted console
if it is not in ACL.
- Writable FIFOs now work for restore.
- ACLs are now checked in all dot commands.
- Multiple drive autochangers and multiple different autochangers
should now work correctly (no race conditions for Volume names,
update slots use correct StorageId).
- Fix bug where drive was always reserved if a restore job failed
while in the reservation process.
Release Notes for Bacula 1.38.5:
Release 1.38.5 released 19Jan06:
- Apply label barcodes fix supplied by Rudolf Cejka.
- Modify standard rpm installation to set SD group to disk
so that SD will by default have access to tape drives.
- Allow users to specify user/group and start options
for each daemon in /etc/sysconf/bacula file.