]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Jobq.c race bug fixed + minor updates
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.34.1
3
4   Bacula code: Total files = 343 Total lines = 98,503 (*.h *.c *.in)
5
6 Changes for 1.34.1:  
7 - Autochanger users, please note you must add %d to the end of the
8   changer command line in your Device resource in your bacula-sd.conf
9   file.
10 - Fixed a major race condition in the job scheduler when multiple
11   simultaneous jobs is enabled. This occurred only when on job had
12   blocked another because of resource usage.
13 - Changed the backup report to indicate "Backup OK -- with warnings
14   if any warning messages were generated.
15 - Change output of restore report to indicate:
16   "Restore OK -- warning file count mismatch"
17 - Make backup report say "Backup OK with warnings" if either FD or SD
18   report any non-fatal errors.
19 - Modify bscan to print some elementary statistics (#Jobs, #Files, ...)
20   added to catalog.
21 - Added --enable-wx-console and updated Makefile.in
22 - Fix mtx-changer so that the calling sequence is compatible
23   with the previous version (the new one required arguments that
24   were not necessarily used).
25 - Document how to use stunnel with Bacula.
26 - Fix crash in query command.
27 - Remove schedule from the default restore job.
28 - Fix data spooler to use min/max tape blocking factors.
29 - Automatically turn of conio if library not found instead of bombing.
30 - Cleaned up a lot of copyright dates.
31 - Try to keep spool statistics from going negative.
32 - Added new Pools chapter. Doc about using two disks.
33 - Attempt to keep the spool file statistics size from going
34   negative.
35 - Fix the Director's Scheduled Jobs: list to have a ===
36   termination.
37 - Fixed ./configure to disable readline rather than stop if
38   readline.h is not found
39 - Fixed a typo in the SQLite database update script as reported
40   by Robert J. Clark - thanks.
41 - Removed src/win32/pthreads and src/win32/zlib from the source
42   tree.
43 - Created a new depkgs-win32 that has the pthreads and zlib source
44   code.
45 - Removed the JobDefs from the default Restore job as it has a
46   schedule. Thanks to Matt Howard for this.
47
48
49
50 Release 1.34.0
51 Major Features:
52 - Data spooling which reduces tape shoe-shine during Inc backups,         
53   and permits multiple simultaneous backups without interleaved blocks.
54 - Native Win32 client -- much faster and restores permissions correctly
55   (thanks to Christopher Hull)
56 - New Windows style installer for the Win32 Client.
57 - PostgreSQL database driver (thanks to Dan Langille).
58 - Polling of devices eliminating need to unmount and mount from
59   console.
60 - Improved Autochange support of Slots (update slots scan).
61 - Autochanger support for multiple drives (I think).
62 - New conio code to implement Console command line editing and history.
63 - JobDefs resource permits smaller .conf files for Director
64 - Access console lists for the Console
65 - Pool level overrides.
66 - Daemon "status" is recovered across daemon executions.
67 - Improved btape "test" and "fill" commands.
68
69
70 Items to note:  !!!!!
71 - If you have a RedHat system, be sure to delete the /lib/tls
72   directory from your system. It contains defective pthreads code.
73 - The restore default is changed to have nothing selected by default.
74   You must either enter: "restore all" or after getting into the tree
75   selection prompt enter "mark *" to have everything selected.
76 - In previous versions the "all" keyword on the restore command caused
77   it to return without user interaction after selecting everything. 
78   This function is now replaced by the "done" keyword (more logical).
79   The "all" keyword now causes everything to be selected by default.
80 - The default tape driver behavior is now to write only a single EOF
81   at the end of the tape. For most tape drives, this is totally            
82   transparent and nothing needs to be done. For FreeBSD see below.
83 - FreeBSD users NOTE!!!!!
84   You may need the following two records to your SD Device resource for
85   tape drives.
86
87      TWOEOF = yes
88      Fast Forward Space File = no
89
90   The "Fast Forward Space File" is surely needed, and the TWOEOF          
91   is needed on some systems and not others. Running the btape
92   "test" command will tell you. If you get an error with TWOEOF set   
93   to yes, set it to no.
94
95 - If you want either bsmtp or bconsole on Win32, you will need
96   to load the 1.32 version along with cygwin1.dll. Some solution
97   for this will be forthcoming in a future update.
98 - The daemon protocol has changed from version 1.32, you must update 
99   everything at once.
100 - The database level has been updated. You must either re-initialize
101   your databases with:
102    
103     ./drop_bacula_tables
104     ./make_bacula_tables
105
106   which will delete ALL prior catalog information, or you can
107   update your 1.32 database with:
108
109     ./update_bacula_tables
110
111   Please save your old database before dropping the tables or doing
112   an upgrade or you may regret it later.
113 - If you are updating versions older than 1.32, you can look in
114   the updatedb directory for scripts that you can use. You will need
115   to manually set the paths for your system.
116
117 - smtp has now become bsmtp -- you *must* modify your .conf files.
118 - console has now become bconsole.
119 - console.conf is now bconsole.conf
120 - Please don't underestimate the repercussions of the bsmtp and bconsole 
121   name changes!
122
123
124 New directives:
125 - "Close on Poll = yes/no" in SD Device resource.
126 - "Volume Poll Interval = time-interval" in SD Device resource.
127 - "Two EOF = yes/no" in SD Device resource.
128 - "Maximum Network Buffer Size = size" in SD Device resource.
129 - "Maximum Network Buffer Size = size" in FD FileDaemon (or Client) resource.
130 - "Console" new resource in Director conf file.
131      New directives: Name, Description, Password, JobACL, ClientACL,
132         StorageACL, ScheduleACL, RunACL, PoolACL, CommandACL,
133         FileSetACL, CatalogACL.
134 - "Max Run Time = duration" in Director Job resource.
135 - "Max Wait Time = duration" in Director Job resource (not fully implemented).
136 - "JobDefs = name-of-resource" in Director Job resource.
137 - "Jobdefs" new resource in Director. Same directives as for a Job.
138 - "Full Backup Pool = xxx" in Job resource in the Director.
139 - "Incremental Backup Pool = xxx" in Job resource in the Director.
140 - "Differential Backup Pool = xxx" in Job resource in the Director.
141 - Three new options on the Run override statement in a Schedule resource:
142    FullPool=xxx
143    IncrementalPool=xxx
144    DifferentialPool=xxx
145 - SpoolData=yes/no in DIR Job resource
146 - SpoolData=yes/no in Run override directive.
147 - MaximumSpoolSize in SD Device resource
148 - MaximumJobSpoolSize in SD Device resource
149 - SpoolDirectory in SD Device resource.
150 - Drive Index in SD Device resource for using two autochanger
151   drives.
152 - mtimeonly=yes/no on Include directive.
153 - keepatime=yes/no on Include directive.
154
155 New Commands:
156 - "SetIP"
157 - Added "pool=xxx" to restore command line.
158 - Added "fileset=xxx" to restore command line.
159 - Fixed "storage=xxx" on restore command line.
160 - "markdir" command in restore tree.
161 - "unmarkdir" command in restore tree.
162 - "quit" command in restore tree.
163 - Trace option on "setdebug trace=1/0 ..."
164 - Update slots scan
165 - The "all" keyword on the restore command marks all files by default.
166 - The "done" keyword prevents user interaction with the tree -- used
167   mostly for batch scripting.
168
169
170 Additional changes:
171 - Slackware support
172 - On multiple ctl-c, exit from console quickly.
173 - Implement "delete job jobid=xxx jobid=yyy ..."
174 - Implement "purge volume=xxx volume=yyy ..."
175 - Add -p option to all SD programs including bacula-sd. It causes
176   Bacula to proceed or forge on in case of I/O errors. It is unlikely
177   this will help, and it is strongly recommended against running
178   the daemon with this option in production.
179 - Add a missing unlock in the jobq handler.
180 - Fix bug where a soft linked file and a directory had the same name
181   by treating the soft link as a directory and putting the entries under
182   it. This fixes the bug reported by Alexander Mueller.
183 - Apply Jess Guardiani's second fix to list autochanger volumes without
184   opening the drive (necessary on FreeBSD if no tape is in the drive).
185 - Reworked the command line handler in restore to walk through the
186   arguments one at a time. This makes the file= entries work correctly.
187   Also reworked the code that takes the MediaType and finds a 
188   storage device.
189 - Add quit command to restore tree handler.
190 - Make restore tree handler remember if a hard link is present, and
191   in doing a mark, only get database entry if there is a hard link.
192   mark commands thus run at least 2 orders of magnitude faster.
193 - Add files=xxx field to run command submitted for restore.   
194 - Add yes to restore run command if either yes or run is command line
195   argument.
196 - Make "yes" on command line argument skip prompt for modification of
197   run job.
198 - Add markdir and unmarkdir -- both affect only the directory in
199   question and do not do a recursive descent.
200 - Make tree command automatically mark all higher level directories to
201   be restored when a directory or a file is selected.  Such directories
202   are indicated by preceding the name with a + to indicate that only
203   the directory entry is selected and not the whole directory tree.
204 - Modify a few tree commands to walk through all arguments rather than
205   just taking the first one.
206 - Improved btape "test" and "fill" commands.
207 - The ability to ask the Storage daemon on a device by device basis
208   to "poll" the tape drive at a given interval (minimum 1 minute). If
209   a tape is found, its label is read and if appropriate it is used.
210   This eliminates the need to do "mount" commands.
211 - The ability to close and re-open the device when a poll occurs. 
212   This permits dealing with certain recalcitrant autochangers that
213   invalidate devices (typically on FreeBSD).
214 - Dan Langille has written a PostgreSQL driver for Bacula.
215 - Implement "update slots scan" that reads the volume label(s).
216 - The full form of the scan is "scan=1,2,4-5,7". With no specification,
217   all occupied slots are scanned.
218 - Turn off changer Volumes that are not current in the changer when
219   an "update slots" is done, or if any tape operation discovers that
220   the right volume is not in the slot.
221 - The console program will run all commands it finds in ~/.bconsolerc
222   at startup.
223 - Add Dan Langille's changes to the bacula start/stop script that 
224   permit dropping root permissions just after startup.
225 - New version 1.5.5-1 Cygwin.
226 - Modify SD to update the catalog database when it is shutdown,
227   even if the job is canceled.
228 - Fixed seg fault in restore of multiple simultaneous jobs to 
229   a single Volume.
230 - Fixed thread race problem in multiple simultaneous jobs to
231   a single Volume where the volume label is not in the first 
232   tape block, so the tape is not recognized.
233 - Restore directory tree automatically selects all higher level
234   directories to be restored.
235 - Implement conio.c to use in console program -- mini-readline.
236 - Enhance "fill" command of btape -- simpler output. Use -v to
237   cause last block to be dumped after write and after re-read.
238 - Added an autochanger test to the btape "test" command. It is 
239   automatically invoked if the autochanger is properly configured.  It
240   is still a bit primitive but covers the essential of testing
241   the mtx-changer script with your autochanger.
242 - Select the oldest LastWritten volume during recycling.
243 - Added forward space file test to btape "test" command.
244 - All 1.32d patches applied.
245 - Fixed seg fault in restore of multiple simultaneous jobs to 
246   a single Volume.
247 - Fixed thread race problem in multiple simultaneous jobs to
248   a single Volume where the volume lable is not in the first 
249   tape block, so the tape is not recognized.