From 9356bcccbf1c38ee7bc0767ed981381f4416c5ac Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 8 Aug 2007 17:00:41 +0000 Subject: [PATCH] Update doc git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5310 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/ChangeLog | 67 ++++++++++++++++ bacula/ReleaseNotes | 180 +++++++++++++++---------------------------- bacula/technotes-2.1 | 2 + 3 files changed, 133 insertions(+), 116 deletions(-) diff --git a/bacula/ChangeLog b/bacula/ChangeLog index 6e4158bb95..593223dd59 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -1,6 +1,73 @@ Technical notes on version 2.1 General: +08Aug07 +kes Update bat README file. +kes Apply patch from Allan Black that + corrects a typo in the Recycle status check in db_find_next_volume(). + This will probably fix a number of annoying problems with multiple + Recycled volumes. +kes Modify most of dird/msgchan.c to use bsock class calls rather than + bnet calls -- no functionality change. +07Aug07 +kes Modify the Verify output to specify if files are missing on + the Volume(s) or disk. Fixes confusion in bug #916. +kes When more than one Volume is read in a migration job, the last + Volume bytes reported are from the last read volume rather than + the last written volume. Fixed. This fixes bug #910. +kes Fix display of Recycle flag after update volume=foo recycle=yes. + It previously printed New Recyle flag is: no. This fixes bug + #917. +06Aug07 +kes Correct seg fault when switching tape drives during restore. +kes Commit uid_gid_name.c (replacement for idcache.c), but will not + be used until after 2.2.0 release. +04Aug07 +kes Remove fnmatch() in SD that permitted wild card specifications. + This fixes bug #914. +31Jul07 +kes Fix %g in filename returned by SQL for browse tree reported by + Dirk. +kes Fix configure so that it puts config.out in the cwd rather than + in src/qt-console +kes Attempt to fix the locking problem reported by Eric in bug #906. +kes Make berrno class to leave errno unchanged after constructor call. +kes Make bnet_server use the heap rather than the stack to allocate + its socket fd pointers to avoid a crash at termination. Problem + reported by Ryan Novosielski and bugs pointed out by Martin Simmons. +30Jul07 +kes Create new depkgs and depkgs-qt separating the qwt out of depkgs + and putting it in depkgs-qt along with Qt4.3. +29Jul07 +kes Rework code in acquire.c that switches drives for reading when + the Media Type does not match. This should fix bug #906 +28Jul07 +ebl Fix a director segfault during job setup #907 +kes Correct seg fault in postgresql when first operation returns no + rows. Fixes Dirks File browser problem seg fault with bat. +25Jul07 +kes Apply patch from Felix Schwarz that allows + building wxconsole on Fedora 7 with wxWidgets 2.8 (it works with + 2.6 as well). +24Jul07 +kes Implement PopUp YES/NO dialog for bat. +23Jul07 +ebl Fix a compilation bug when using #define BACL_WANT_NUMERIC_IDS +22Jul07 +kes Correct RunScript to terminate job in FD on failure. +kes Change abort_on_error and AbortJobOnError to fail_on_error + and FailJobOnError in RunScripts. +kes Minor tweaks of code formating in RunScripts, principally to + avoid depassing 80 columns. +21Jul07 +kes Eliminate one #ifdef Win32 in bsmtp +kes Implement grow tool to grow a file for testing very large databases. +kes Add big-vol-test to test Bacula seeking with > 5GB. +Release 2.1.28 beta +19Jul07 +kes Modify find_next_volume() to return all values in Media record. +kes Ensure that we keep Recycle Pool when moving Scratch volumes. + Release 2.1.28 beta 18Jul08 kes Update Release notes diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index cf9ae67371..c339fb891d 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -1,173 +1,121 @@ - Release Notes for Bacula 2.1.28 + Release Notes for Bacula 2.2.0 - Bacula code: Total files = 516 Total lines = 244,888 (*.h *.c *.in) + Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in) This Director and Storage daemon must be upgraded at the same time, but they should be compatible with all 2.0.x File daemons, unless you use some of the new features that affect the FD. In other words, you should -not have to upgrade all your File daemons. However, bat works only with -a 2.1.8 Director or greater. - -!!!!!!!!!!!!!!!!!!!!!!! Please Note !!!!!!!!!!!!!!!!!!!!!!!!!!! -Restore on Win32, and in particular on Vista is untested. Please -test before relying on it. It should backup and restore reparse -points. -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -Changes since Beta release 2.1.26 -- Several bug fixes #842, 893, and some unreported bugs. -- Storage overrides delete all previous storage definitions instead - of prepending. -- One should be able to mount and unmount removable devices if the - Device resource has Removeable Media set and the mount and unmount - directives are defined. -- ./configure will do a better job of searching for qwt libraries. -- The Win32 version can no longer be shutdown from the tray monitor. - Use the command line or the Services panne. -- Make Mac OS X compile work. - -Changes since Beta release 2.1.24 -- Add qwt graphics library (for Qt4) needed to build bat to the - depkgs-11Jul07.tar.gz package -- You now need a --with-qwt= to be able to build bat. -- Keep prune_volumes() from pruning the whole Scratch pool. -- More debug output in status storage. -- Correct moving a Scratch volume from pool to pool (some - critical columns were lost). -- New more efficient db_get_query_dbids() -- not yet implemented - everywhere, but currently used in volume pruning. - -Changes since Beta release 2.1.22 -- Different locking in reservations and despooling systems, - which means more micro-locking and less macro-locking, which - should give a lot more concurrency at the expense of slightly - (<0.1%) more overhead due to more locking/unlocking, but - concurrent jobs should run much faster. -- Patch from Sergey Svishchev that fixes bug in - migration code where a job that spanned two volumes was - migrated twice. - -Changes since Beta release 2.1.20 -- New graphs in bat -- Due to a typo, I had inadvertantly turned off batch insert mode. - It is now re-enabled -- Possible fix for bug #888 (dropped comm lines using TLS). -- Test version of Win32 binaries for Vista. - -Changes since Beta release 2.1.18 -- Fixed bug #886 (multidrive autochanger: SD doesn't use drive with - loaded tape but uses first drive). -- Fixed bug #807 Restore encrypted backup failed on Windows 2003 - This was indeed a Win32 issue. - -Changes since Beta release 2.1.12 -- Version 2.1.14 not released. -- Possible solution to Win32 encryption restore signature errors. -- Reload with syntax errors in @include now works. -- Gnome console builds with encryption. -- Fixed bugs #864, 872, 874, 882, 882, 877, 886, 885. -- License is now GPL v2 without modifications, fix a few copyright - mistakes made when adding FSFE copyright notice. -- Fix update all from pool to pass pool name. -- Correct reservation system bug that invalidated Volumes by - calling find_next_appendable volume before acquiring a device. - -Changes since Beta release 2.1.10 -- Lots of new bat functionality !!!!!! -- Additional drive reservation algorithm that should solve a lot of - the problems experienced with multiple drive autochangers. -- Reload was broken in 2.1.10 -- now fixed. -- Storage daemon status command enhanced to more clearly show Volume, - pool and media type when a job is waiting. -- Made bsmtp work with more strict SMTP servers. -- Detect doubly freed buffers in smartall.c -- Reduce the impact of a backup on the FD's memory usage (OS file - caching). This works only on POSIX compliant systems. This allows - users to work with less interference on a Client machine during a - backup. -- bat should now handle non-English characters. -- ./configure now permits --enable-batch-insert (as well as --disable...). - This feature is enabled by default if your SQL libraries are thread - safe. -- The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'. - This makes it run 30 times faster, but increases the possiblity - of a corrupted database if your server shuts down unexpectedly. - The default behavior can be changed in src/version.h +not have to upgrade all your File daemons when you upgrade. There is +no database upgrade needed from version 2.0.x to 2.2.0. Areas requiring caution or testing: -- You must have Qt4 Version 4.2 or greater loaded to build bat - You must have the thread safe version of MySQL client libraries loaded to build with MySQL enabled. -- The Volume management in the Storage daemon is extensively rewritten. - It appears to function much better, but is largely untested under - severe production stress conditions (multiple drive autochangers, ...). - Volumes are pruned only when absolutely necessary -- this may cause - your database to grow compared to prior Bacula version. -- Socket level heartbeat is untested. + your database to grow compared to prior Bacula versions. - Solaris door and even port files are no longer restored (equivalent to what we do with sockets). -- Win32 servers are untested, and very likely not to work. - SQLite is no longer supported for Solaris -- it fails too often with - bus errors. + bus errors. SQLite3 should work on Solaris. +- The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'. + This makes it run 30 times faster, but increases the possiblity + of a corrupted database if your server shuts down unexpectedly. + The default behavior can be changed in src/version.h +- Restore on Win32, and in particular on Vista is untested. Please + test before relying on it. It should backup and restore reparse + points. +- Win32 servers are untested, and very likely not to work. The major new features are: - Much faster insertion of attributes (somewhere around 10 times), many thanks to Eric Bollengier and Marc Cousin. -- First cut of bat (Bacula Administration Tool). Note to build +- 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, and - qmake and the other Qt4 tools must be available. bat is ALPHA - software. A large part of the work was done by Dirk Bartley. + 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. -- Simpler locking in the SD in the reservation system. +- 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. Other features or bug fixes: -- Fixed bugs: 856, 854, 845, 847, 846, 809, 772, +- Fixed bugs: 916, 910, 917, 914, 906, 907, + 842, 830, 893, 861, 888, 886, 807, 877, 872 + 885, 887, 864, 874, 882, 881, 863, 859, + 856, 854, 845, 847, 846, 809, 772, 822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 766, 621, 761, 755, 750, 741, 747, 742, 744, and 743. -- Only the minumum number of volumes are pruned rather than - all volumes in the pool. -- wx-console renamed to bwx-console -- gnome-console renamed to bgnome-console +- Configure bat with --enable-bat. Define qwt libraries with + --with-qwt=. See Installation chapter of manual for details. +- Create a depkgs-qt package that has both Qt4 and qwt, which are + needed to build bat. Most modern Linux systems will have both + these packages in the distro. +- Storage overrides delete all previous storage definitions instead + of prepending. +- One should be able to mount and unmount removable devices if the + Device resource has Removeable Media set and the mount and unmount + directives are defined. +- ./configure will do a better job of searching for qwt libraries. +- The Win32 version can no longer be shutdown from the tray monitor. + Use the command line or the Services panne. +- Keep prune_volumes() from pruning the whole Scratch pool. +- More debug output in status storage. +- Correct moving a Scratch volume from pool to pool (some + critical columns were lost). +- Different locking in reservations and despooling systems, + which means more micro-locking and less macro-locking, which + should give a lot more concurrency at the expense of slightly + (<0.1%) more overhead due to more locking/unlocking, but + concurrent jobs should run much faster. +- Additional drive reservation algorithm that should solve a lot of + the problems experienced with multiple drive autochangers. +- Storage daemon status command enhanced to more clearly show Volume, + pool and media type when a job is waiting. +- Made bsmtp work with more strict SMTP servers. +- Detect doubly freed buffers in smartall.c +- wx-console renamed to bwx-console (Fedora request) +- gnome-console renamed to bgnome-console (Fedora request) - Migration preserves original job's FileSetId - Spooling implemented for migration jobs. - Config files can be read through a pipe, by specifying a leading | in front of the configuration path/filename. - New memory command (bconsole) that will print the current Director's - memory usage, and a in use buffer dump. -- Solaris door and event port files are no longer restored. + memory usage, and an in use buffer dump. - Console name changed from *Console* to -Console- to accomodate Win32 filename restrictions. -- Corrected Win32 ftruncate bug. +- Corrected the Win32 ftruncate bug. - Additional version information added to Job reports. - New -8 option for bsmtp to specify UTF-8 encoding type. - bsmtp will no longer add < > to target (from, to, cc) if there is already a < in the target. -- Perfer Mounted Volumes extended to mean a volume that is being +- Prefer Mounted Volumes extended to mean a volume that is being mounted by another job. - Runscript timing set to same as version 1.38.11 - New TLS Allowed CN directive(s) permitted. - New bconsole 'exec' command to run external script/command. - Turn on FreeBSD/OpenBSD code to set EOT model on tape. - Drop from root done before database is opened. -- database user and name can be configured with: +- Database user and name can be configured with: --with-db-name=name --with-db-user=user -- turn on wait_for_drive in mtx-changer script. -- rework how bar codes are handled in mtx-changer script. +- Turn on wait_for_drive in mtx-changer script. +- Rework how bar codes are handled in mtx-changer script. This appears to have been an unreported bug. - Updated nagios plugin supplied by Christian Masopust - Better restricted console ACL checking. diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 0f852c8520..806031a105 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -67,6 +67,8 @@ Release 2.1.28 beta 19Jul07 kes Modify find_next_volume() to return all values in Media record. kes Ensure that we keep Recycle Pool when moving Scratch volumes. + +Release 2.1.28 beta 18Jul07 kes Update Release notes 17Jul07 -- 2.39.5