X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Ftechnotes-2.5;h=c06cd5f2adca99cafe90d16a1f265de020260fd3;hb=ddcb5e1bd82f7c6a8f8945ff876784cf6cc6f51e;hp=7c92cbce7c9ad06c947739f222cc7d14190b13ab;hpb=8741521578d425e0c4b421cf5240a35cef3cecf4;p=bacula%2Fbacula diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 7c92cbce7c..c06cd5f2ad 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -2,54 +2,211 @@ New features: -Plugin API command separator in console (!$%&'()*+,-/:;<>?[]^`{|}~) examples/database/dbcheck.sql -dbi database driver - --enable-libdb - dbdriver in bacula-dir.conf ---with-db-port enhancement to wait command: wait mount ... -parse config - dbport in dbcheck -dbdriver filepattern (restore with regex in bsr) -libtool - -remove reader/writer in FOPTS???? - -================== Warning !!!!!! ========================== -This BETA release of Bacula 2.5.x development code uses libtool -to generate the Bacula libraries as shared objects rather than -being directly linked in as in prior versions. This means that -the Bacula shared objects, must either be in a shared object -directory known to the loader or they must be in the directory -that may be specified on the ./configure line using the ---libdir option as: - - ./configure --libdir=/full-path/dir - -the default /usr/lib. If --libdir is specified, there should be -no need to modify your loader configuration provided that -the shared objects are installed in that directory (Bacula -does this with the make install command). The shared objects -that Bacula references are: - -libbaccfg.so -libbacfind.so -libbacpy.so -libbac.so - -If you have problems with libtool or you wish to use the old -way of building static libraries, you can do so by disabling -libtool on the configure command line with: - - ./configure --disable-libtool -============================================================== - +mixed priorities General: +23Dec08 +kes Fix bug #1206 -- Error: sql_update.c:194, which was probably + caused by the user modifying the Bacula DB schema. +kes Remove rogue line of C code. +kes Fix bug #1208 +20Dec08 +ebl Work on copy jobs + - Add "list copies" command + - Add JT_JOB_COPY type for job copies + - Don't allow copy jobs in automatic restore + - Promote next copy job as backup when original job is deleted +kes Closed bug #1207 -- 2.4.4-b1 strange volume/device handling +kes Closed bug #1204 -- Undescriptive help options +kes Closed bug #1202 -- Revise documentation +kes Closed bug #1178 -- Bat 2.4.3 tries to double-purge volumes + unable to reproduce. +kes Closed bug #1166. Fixed by Eric -- Problem canceling job if + client looses connection while being backed up. +kes Fixed bug #1200 -- inconsistent auto purge documention +kes Fix documentation for Recyling ambiguity. Fixes bug #1200. +kes Remove old mmap code from compat.h/cpp +kes Update ChangeLog +kes Correct typo in Win32 Makefile editing +kes Correct typos in debug output. +kes Improved error detection in creating bsrs. +kes Add debug code to Win32 restore +19Dec08 +kes Fix Win32 build. +ebl Cleanup director VolParam struct +18Dec08 +ebl Replace File:Block in BSR by Address to fix #1190 +16Dec08 +kes Correct missing return in Darwin code. +15Dec08 +ebl Copy joblog after a Copy job +14Dec08 +kes Tweak block.c read to more closely simulate write for computing + block addresses and turn on disk block testing. +kes Implement a crude 'list joblog' mostly for debugging. +13Dec08 +kes Fix Migration bug #1206 sql error with NULL FileSetId when no jobs + to migrate. +kes Fix Migration JobLog bug #1171. Get the JobIds correct. +12Dec08 +ebl Fix segfault in bscan when using debug mode +11Dec08 +kes Fix configure to do minimum Win32 configure so that make clean + works. +kes Tweak modify FD header to use %ld instead of %d. +kes Remove hand scanning of FD header in SD and use Bacula's + sscanf, which is now OS independent. +kes Define new object (file/dir) begin and end Volume label records + in SD. +kes Use new method of defining XATTR #defines to avoid need for having + them in config.h.in +10Dec08 +ebl Rename all STREAM_ACL_..._T into STREAM_ACL_.. +09Dec08 +ebl Add a new lock manager that can detect deadlock situation + This new option is activated with a --enable-lockmgr configure + option. +ebl Add new Director->MaxConsoleConnections directive +03Dec08 +ebl Fix bacula-sd hanging after tape gets full + unload +02Dec08 +ebl Remove extra db_lock() in get_prune_list_for_volume() +ebl Apply 2.4.3-prune-deadlock.patch that fixes a problem when + using Catalog as message backend. +01Dec08 +kes Apply Marco's Darwin xattr patches. +28Nov08 +kes Fix Win32 build. +26Nov08 +kes Apply Marco's Extended attribute support patch. +kes Update projects file +25Nov08 +kes More changes to ensure that during thread switches the jcr + is removed from the TSD. +kes Ensure that consoles attach jcr to thread, and that only the + thread attached is removed from the TSD. +24Nov08 +kes Move definition of FileId_t to bc_types and define it once in the jcr. +22Nov08 +kes Remove all time_t from arguments in favor of utime_t, which is + machine independent. +kes Add more debug to match_bsr.c and use %u for unsigned debug editing. +20Nov08 +ebl Apply patch for bug #1182 about Recycle flag + that is not updated after a pool change. +kes Since the user has been warned, allow console purge command + to purge volumes that are in use. This is a fix for bug + #1191 before it was submitted. +kes Fix Win32 build to add new sd_plugins.c +ebl Apply patch from bug #1175 that reset the Slot and the Inchanger + flag in db_make_inchanger_unique(). +ebl Remove a Emsg() after recieving a Fatal signal that can lock + the catalog. +19Nov08 +kes Apply patch from bug #1187. It prints an error message if the + Maximum Block Size in the SD is too big. +kes Increase Maximum Block Size to 2,000,000 bytes. +kes Use doubly linked bsr list so that consumed bsrs may be + removed. Removing not yet implemented. +18Nov08 +kes Implement a fix that very likely fixes the undesired volume + purge reported by Graham Keeling. +kes Implement bsr block level checking for disk files. However, + it does not work correctly in accurate tests, and all the + migration and copy tests, so it is turned off. +ebl Make SD plugins work. +14Nov08 +ebl Apply Riccardo's patch to compile bacula+mysql on mandriva +13Nov08 +ebl Add more variables accessible through the director plugin + interface. +12Nov08 +ebl Do work on plugins + - fix compilation of the director plugins + - add plugin list to status dir output + - add director plugin dump after a fatal signal +ebl Apply Riccardo's patch that fix some win32 compilation errors + and a bug with bat version browser. +11Nov08 +ebl Add Plugin debug after a fatal signal. +ebl Add db and rwlock debug after a fatal signal. +10Nov08 +ebl Fix maxwaittime to fit documentation, this time is now counted + from the job start and group all wait periods. +ebl Add tips for postgresql to improve performance when having + multiple batch insert at the same time. +09Nov08 +ebl Remove extra debug for db lock. +07Nov08 +kes Apply Riccardo's second patch that cleans up the #include + file order + a few Win32 particularities to make bat work + on Win32. +ebl Add allow_transactions flag to mysql db backend. +kes Apply win32-fixes patch from Riccardo that makes the Win32 + bat more stable and faster (but still slow). +06Nov08 +kes Fix bug with job name duplication if more than 60 jobs created + during a minute. +kes Correct some bugs of cleanup in SD if the FD connection fails. +ebl Add code to get more information after a fatal signal. +05Nov08 +ebl Apply Bastian's patch that add spooldata=yes|no option + to run command. +04Nov08 +ebl Fix bash shell to sh shell in database creation script +02Nov08 +kes Fix orphaned jobs (possible deadlock) while pruning. +kes Use jcr stored in bsock rather than searching in getmsg.c. + This results in about a 5% speed improvement with four + concurrent jobs. +kes Implement win32_chmod that uses wide characters, if possible, + to get and set the file attributes. +29Oct08 +kes Apply pane freezing during updates patch from Riccardo Ghetta. +kes Rework next_vol and autoprune a bit due to failure in + recycle-test. prune_volumes() now returns no status, + but should prune at least one Volume, if possible. +kes Modify check_if_volume_valid_or_recyclable to reject a + volume with Recycle set off. +kes Modify prune_volumes() to continue if volume Recycle is off + or if the volume has expired. Add more debug. +28Oct08 +kes Fix bug #1046 VolumeToCatalog incorrectly reports mounted + filesystems as missing on the Volume. +kes Rewrite the set_jcr_job_status() code to include job status + priorities so that more important status changes occur but + lower priority status changes will not overwrite something + more serious. This could possibly cause reporting incorrect status + reporting in some cases. More testing is needed to ensure + I have the right priorities. This vastly simplifies the previous + contorted logic. + Verify Diff status should now be correctly reported, whereas it + was previously lost. +kes Reduce some debug output. +kes Apply Joao's patch to SQLite tables to make chars work. +27Oct08 +ebl Fix #1175 About update slots that don't reset InChanger flag when + slot is empty. +ebl Fix #1173 where prune_volume() returns a volume from the scratch. +25Oct08 +kes Remove jobq.c constraint that read and write SD must be + different. This may lead to more deadlocks in the SD, + but they should be resolved there. +kes Ensure that job report is always printed even if job is failed + in the director. +kes Don't print job report twice for failed VBackup jobs. +24Oct08 +kes Fix editing of retention time difference to use 64 bit + int instead of 64 bit unsigned. This should permit very + long retention periods. +kes Implement code to prohibit a write job from appending to a + Volume that will be used for a read operation. This is + new code and could possibly cause some conflicts. 23Oct08 kes Integrate James Harper's Exchange Win32 plugin patch. kes Apply patch from Marco van Wieringen that implements the new @@ -89,7 +246,7 @@ kes Minor cleanup of create_restore_volume_list() code. kes Fix typo in console Makefile.in 16Oct08 ebl Fix #1110 about RunScript that can't execute a script with - Unicode caracters in the path. + Unicode characters in the path. 15Oct08 kes Apply tray-monitor patch from Bastian Friedrich to make it work with the new FD. @@ -99,7 +256,7 @@ kes Apply patch from Marco van Wieringen that implements libtool to create shared objects out of the Bacula libraries. kes Fix tray-monitor so it will speak to new FD. -ebl Fix bug with ansi label when volume name length < 6 +ebl Fix bug with ANSI label when volume name length < 6 ebl Fix segfault in debug level > 50 with btape. ebl Remove warning message in btape when command is empty. kes Fix Win32 build to pull in new BACULA define. @@ -111,7 +268,7 @@ kes Implement code to prohibit ExcludeDirContaining in an ebl Add field to command list to restrict Runscript console command. ebl Use a separate JCR when running Console command with Runscript. -ebl Permit to mark version as Beta in some ouputs +ebl Permit to mark version as Beta in some outputs 11Oct08 kes Add plugin types in jcr.h to reduce need to cast. kes Do better checking of plugin return values. @@ -126,7 +283,7 @@ kes Move generation of bsr file for Virtual Backup to run section Suggested by Graham Keeling. 09Oct08 kes Add malloc and free Bacula entry points for plugins. Increment - FD plugin interface version. Create a bacula plugin context + FD plugin interface version. Create a Bacula plugin context structure to keep track of whether or not the plugin is disabled. kes Apply FileIndex fix for plugin name stream suggested by James. kes List plugins in FD status report when debug > 0. @@ -148,7 +305,7 @@ kes Integrate patch from Kjetil Torgrim Homme It provides FileRegex in bsr files and code to collect regex from the user during restore, an Allow Mixed Priorities feature, and documentation for the above. -ebl Remove db berkeley from configure process +ebl Remove db Berkeley from configure process kes Do dirty check on hostname (Linux only) and if not resolvable use localhost as default. kes Increase vtape max block to 20GB.