X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2FReleaseNotes;h=fb648972cadfa83183d5f38a139a268644f82b41;hb=daa1604b7ce33652ec583dcd2efc69d31a837cd9;hp=7abe9651f8e538b9723775d901bb10820c684b4b;hpb=d88ee65bc32791bd9079e4403fe8cba32b4e4a01;p=bacula%2Fbacula diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index 7abe9651f8..fb648972ca 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -1,107 +1,139 @@ - Release Notes for Bacula 1.31 + Release Notes for Bacula 1.33.4 - Bacula code: Total files = 251 Total lines = 74,714 (*.h *.c *.in) + Bacula code: Total files = 301 Total lines = 89,118 (*.h *.c *.in) -Major Changes this Release: -- The database format has changed. Please see below. -- Support to save and restore all files on WinNT/2K/XP systems - including the permissions. Unfortunately files that are in use by another - program cannot be saved. -- Support for Win95 systems (untested since I don't have Win95). -- Heartbeat every 20 minutes between daemons to prevent network - timeouts. The heartbeat interval can be set. -- Volume names may now only contain letters, numbers, colon, period, dash, - and underscore. -- Added readline to depkgs (removed from depkgs1) and fixed configuration if - it is not installed in your system libraries. -- Implemented generalized tape label formats including counter variables - for automatic naming of Volumes. -- Multiple simultaneous jobs now work. -- Implemented tape block rejection, which means that restores with - several incremental backups will run orders of magnitude faster. +New directives: +- "Close on Poll = yes/no" in SD Device resource. +- "Volume Poll Interval = time-interval" in SD Device resource. +- "Two EOF = yes/no" in SD Device resource. +- "Maximum Network Buffer Size = size" in SD Device resource. +- "Maximum Network Buffer Size = size" in FD FileDaemon (or Client) resource. +- "Console" new resource in Director conf file. + New directives: Name, Description, Password, JobACL, ClientACL, + StorageACL, ScheduleACL, RunACL, PoolACL, CommandACL, + FileSetACL, CatalogACL. +- "Max Run Time = duration" in Director Job resource. +- "Max Wait Time = duration" in Director Job resource (not fully implemented). +- "JobDefs = name-of-resource" in Director Job resource. +- "Jobdefs" new resource in Director. Same directives as for a Job. +- "Full Backup Pool = xxx" in Job resource in the Director. +- "Incremental Backup Pool = xxx" in Job resource in the Director. +- "Differential Backup Pool = xxx" in Job resource in the Director. +- Three new options on the Run override statement in a Schedule resource: + FullPool=xxx + IncrementalPool=xxx + DifferentialPool=xxx +New Commands: +- "SetIP" +- Added "pool=xxx" to restore command line. +- Added "fileset=xxx" to restore command line. +- Fixed "storage=xxx" on restore command line. +- "markdir" command in restore tree. +- "unmarkdir" command in restore tree. +- "quit" command in restore tree. -Other Changes this Release: -- Restore checks block numbers to ensure that no block is lost. -- The new console var command allows testing variable expansion - used in automatic tape name generation. -- The new console estimate command allows you to test FileSets - to see how many files and bytes will be saved and optionally - to have an "ls -l" style listing of the files. -- During a normal restore (replace = yes), any existing file is deleted - and the restored file is then created. This corrects links and other - wierd files that changed between the backup and the restore. -- Preliminary support for BSDi. -- Use smtp instead of mail to send the traceback message. -- Fixed a race condition in the "list" command while a backup is - in progress. -- Improvements to gnome-console. -- Prune orphaned jobs (no files saved, no Volume used). -- Added non-fatal errors to Job reports. -- Eliminate need for SubsysDirectory in each daemon -- please remove - these records from your .conf files. -- Add a lot more "command line" options to console commands. -- More info in traceback (database type, ...). -- Better handling of errors with autochangers during restore. -- Better cancellation of jobs in Storage daemon (doesn't try - to cleanup twice). -- Better cancellation of File daemon (except on Cygwin systems). -- SD error messages such as autochanger errors are now properly - directed back to Console -- previously some were lost. -- A Storage daemon crash on FreeBSD systems (due to a different FreeBSD - pthreads implementation) is fixed. -- Better Job termination report particularly for Verify and Restore jobs. -- Update Verify VolumeToCatalog to use new BSR records. -- Fixed list last 20 jobs in restore command (previously reported any - 20 jobs). -- Gnome command line history works better. -- Better messages if a job is upgraded from Diff or Inc to Full. -- Replaced FileSet MD5 with date created -- more aestetic and readable. -- Fixed a FD crash on long directory names (Win32 specific). - +Most Significant Changes since 1.32f-4 +- Add a missing unlock in the jobq handler. +- Fix bug where a soft linked file and a directory had the same name + by treating the soft link as a directory and putting the entries under + it. This fixes the bug reported by Alexander Mueller. +- Apply Jess Guardiani's second fix to list autochanger volumes without + opening the drive (necessary on FreeBSD if no tape is in the drive). +- Reworked the command line handler in restore to walk through the + arguments one at a time. This makes the file= entries work correctly. + Also reworked the code that takes the MediaType and finds a + storage device. +- Add quit command to restore tree handler. +- Make restore tree handler remember if a hard link is present, and + in doing a mark, only get database entry if there is a hard link. + mark commands thus run at least 2 orders of magnitude faster. +- Add files=xxx field to run command submitted for restore. +- Add yes to restore run command if either yes or run is command line + argument. +- Make "yes" on command line argument skip prompt for modification of + run job. +- Add markdir and unmarkdir -- both affect only the directory in + question and do not do a recursive descent. +- Make tree command automatically mark all higher level directories to + be restored when a directory or a file is selected. Such directories + are indicated by preceding the name with a + to indicate that only + the directory entry is selected and not the whole directory tree. +- Modify a few tree commands to walk through all arguments rather than + just taking the first one. +- Improved btape "test" and "fill" commands. +- The ability to ask the Storage daemon on a device by device basis + to "poll" the tape drive at a given interval (minimum 1 minute). If + a tape is found, its label is read and if appropriate it is used. + This eliminates the need to do "mount" commands. +- The ability to close and re-open the device when a poll occurs. + This permits dealing with certain recalcitrant autochangers that + invalidate devices (typically on FreeBSD). +- Dan Langille has written a PostgreSQL driver for Bacula. +- Implement "update slots scan" that reads the volume label(s). +- The full form of the scan is "scan=1,2,4-5,7". With no specification, + all occupied slots are scanned. +- Turn off changer Volumes that are not current in the changer when + an "update slots" is done, or if any tape operation discovers that + the right volume is not in the slot. +- The console program will run all commands it finds in ~/.bconsolerc + at startup. +- Add Dan Langille's changes to the bacula start/stop script that + permit dropping root permissions just after startup. +- New version 1.5.5-1 Cygwin. +- Modify SD to update the catalog database when it is shutdown, + even if the job is canceled. +- Fixed seg fault in restore of multiple simultaneous jobs to + a single Volume. +- Fixed thread race problem in multiple simultaneous jobs to + a single Volume where the volume lable is not in the first + tape block, so the tape is not recognized. +Other Changes since 1.32d +- Restore directory tree automatically selects all higher level + directories to be restored. +- Implement conio.c to use in console program -- mini-readline. +- Enhance "fill" command of btape -- simpler output. Use -v to + cause last block to be dumped after write and after re-read. +- Added an autochanger test to the btape "test" command. It is + automatically invoked if the autochanger is properly configured. It + is still a bit primitive but covers the essential of testing + the mtx-changer script with your autochanger. +- Select the oldest LastWritten volume during recycling. +- Added forward space file test to btape "test" command. +- All 1.32d patches applied. +- Fixed seg fault in restore of multiple simultaneous jobs to + a single Volume. +- Fixed thread race problem in multiple simultaneous jobs to + a single Volume where the volume lable is not in the first + tape block, so the tape is not recognized. Items to note: !!!!! -- Recycle Oldest Volume has changed to be Purge Oldest Volume - Please change your Director's .conf file. -- The default time interval is now days instead of seconds. Please - check your .conf files! -- For MySQL users, you must have the thread safe client libraries - available. If you build MySQL yourself, add the --enable-thread-safe-client - option on the ./configure. You will most likely need to do an ldconfig. - Please see the installation documentation for building MySQL. -- Version 1.31 and 1.30 daemons/Director are not compatible. You must - upgrade all or nothing. +- FreeBSD users NOTE!!!!! + You MUST add the following two records to your SD Device resource for + tape drives. -- The format of the catalog database has changed, so you must either - re-initialize your database (losing all the old info) with: + TWOEOF = yes + Fast Forward Space File = no - ./drop_bacula_tables - ./make_bacula_tables +- The daemon protocol has changed, you must update everything at once. +- The database level has been updated. You must either re-initialize + your databases with: + + ./drop_bacula_tables + ./make_bacula_tables - or you can use the appropriate script (you must choose the name according - to which database you have) in the /src/cats directory. + which will delete ALL prior catalog information, or you can + update your database with: - BEFORE APPLYING THE ALTER SCRIPT PLEASE BACKUP YOUR DATABASE. - If you have previously upgraded to version 1.31, please do not run - this procedure a second time. Do one of the following only if you - wish to keep your old tables (not doing the re-initialize documented - above), and do this only after configuring an building the new Bacula, - but before trying to run it: + ./update_bacula_tables - MySQL: - cd working-directory (or where you want to backup the catalog) - mysqladmin -f --opt bacula >bacula.sql - cd /src/cats - ./alter_mysql_tables + Please save your old database before dropping the tables or doing + an upgrade or you may regret it later. - SQLite: - cd working-directory - echo '.dump' sqlite bacula.db >bacula.sql - cd /src/cats - ./alter_sqlite_tables - - When you are sure that Bacula is running with your upgraded database, - please delete the bacula.sql copy you made. - +- smtp has now become bsmtp +- console has now become bconsole. +- console.conf is now bconsole.conf +- Please don't underestimate the repercussions of the bsmtp and bconsole + name changes!