]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
kes Make find with no args in tree restore return error rather than
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.39.20
3
4   Bacula code: Total files = 448 Total lines = 150,330 (*.h *.c *.in)
5
6 Version 1.39.20:
7 - The basic features of Migration are now complete.
8 - There is a Migration chapter in the doc.
9   http://www.bacula.org/dev-manual/Migration.html
10 - There is an Encryption chapter in the doc.
11   http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html
12
13 New Features in 1.39.20:
14 - Add -n option to bconsole to turn off conio.
15 - The bytes field in the terminated jobs part of the status
16   command now reports in KB, MB, ... units.
17 - When not descending into a directory, print the File= name that
18   triggered it -- makes why not descending a bit clearer
19 - Do not unload autochanger when doing "update slots"
20 - Implement mount command for autochanger
21
22 Fixes for 1.39.20:
23 - Writing DVDs should work much better thanks to Richard Mortimer.
24 - Fix bug #462 incorrect error message printed when client script called
25   from File= was not found.
26 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
27   do a rewind on Solaris when no tape is in the drive (Solaris does not
28   have the detailed errno found on Linux).  Added Solaris specific code.
29   Note, this may apply to other OSes as well.
30 - Many cleanups/enhancements for Win32 systems.
31 - Correct improperly formated list command output reported by Dan.
32 - Eric fixed RunScripts, which I (Kern) had broken in the last beta.
33 - Correct Client migration SQL as pointed out by Marc.
34
35 ==== IMPORTANT =====
36 - The database format has been updated from what was used in    
37   Bacula 1.38.x.  You must manually update your database before 
38   running Bacula 1.39.x or higher.  Please backup your previous
39   version of the database before running the update.  The update
40   script will be automatically installed in your scripts directory,
41   or can also be found in <bacula-source>/src/cats.  It is called:
42
43      ./update_bacula_tables
44
45   It is necessary to run it only once the first time you move to a
46   1.39.x beta or to 1.40.0. Upgrading the Bacula version thereafter
47   does not require updating the database again. Depending on the size of your
48   database the script make take a bit of time, to run, but in
49   general, it should be very fast.
50
51 New Features in 1.40.0 (beginning of release info)
52 - There is a new cross-compiled Win32 File daemon that now has all the features
53   that were previously only in the Unix versions.
54
55   To install the 1.39.18 Win32 FD, you *must* first stop any    
56   previous version that is running in a DOS shell with:
57
58      net stop bacula
59
60   or select the 'Close Bacula' menu item from the Bacula tray icon,
61   you should then save your bacula-fd.conf file, and either
62   uninstall (using Uninstall.bat in the c:\bacula directory) or
63   remove the old installation by manually in a DOS shell in the
64   Bacula directory enter:
65
66      bacula-fd /remove
67
68   after that you can proceed with the installation.  My experience
69   is that it does not properly create the new bacula-fd.conf file, so
70   copy the one saved to the directory you chose to install Bacula,
71   or to the directory chosen by the Installer to put the bacula-fd.conf
72   file.  Then you can start Bacula in a DOS shell with:
73
74     net start baculafd
75
76   or use the Windows Control Panel->Administrative Tools->Component
77   Services menu item.  The document has been updated (not completely).
78   For installation details, please see:
79   http://www.bacula.org/dev-manual/Windows_Version_Bacula.html  
80
81
82 ==========================================
83
84 Warning for version 1.39.18 and greater:
85 - The documentation is almost non-existent for all new features
86   except RunScripts (written and documented by Eric Bollengier).
87 - If you have an old pre 1.39.18 database, you must update it using
88   the update_bacula_tables script. Please backup your database before
89   updating just in case.
90 - You *should* be able to use 1.38.x FDs with version 1.39.18 Director
91   and SD providing you do not use any of the new features (runscript,   
92   data encryption). It seems to work here, but we do not guarantee it.
93 - Your Director and SD must be simultaneously upgraded.
94 - The restore command no longer uses the MediaType as the primary method
95   of finding a suitable Storage device. Normally it will select the last
96   device used to write a Volume. If no storage device is defined, it
97   will use the old algorithm which selects the first Storage resource  
98   with the correct MediaType.
99 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
100   format compatible with the rest of the world. If you are running verify 
101   jobs, you *must* do an InitCatalog or all files will show an MD5   
102   difference.  Also, authentication uses the new algorithm by
103   default, but *should* accept connections from older components (FD) using
104   the old non-compatible algorithm. This has been tested, but more
105   more testing is still needed.  
106 - The --mandir ./configure option now points to the top level man
107   directory.  The man files will be installed under mandir/man8 and
108   mandir/man1 as appropriate.
109 - The "Accept Any Volume" directive has been removed. It was never
110   implemented. Bacula will always accept any valid tape that is in   
111   the drive for appending.
112
113
114 A Lot of New features for 1.39.18:
115 - Switch the Win32 build from using Microsoft C++ to using mingw32
116   cross-compiling.  The inital work was done by Howard Thomson,
117   then tweaked by me.  Robert Nelson then totally reworked the
118   cross-compiling code so that it not only cross-compiles, but
119   also compiles on Visual Studio, and at the same time, he added
120   all the current Unix features to the FD, such as selection on
121   drives, encryption support, building *all* the tools, ...
122   Finally, he also ported the Directory and the Storage daemon to
123   Win32.
124 - Data encryption done in the Client is now supported due to code
125   submitted by Landon Fuller.
126 - Bacula restore and bextract can now extract non-portable Win32 data to
127   any client (including Unix/Linux clients). Of course, in doing so,
128   the Microsoft specific permissions and ACLs will be lost.  Thanks
129   to Thorsten Engel for this code.
130 - The 260 character limitation for Win32 paths name lengths is now 
131   eliminated thanks to Thorsted Engel.
132 - Eric Bollengier wrote new RunScript directives that includes
133   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
134   plus a *lot* more, allowing you to control just about every aspect
135   of running scripts.  See the manual for detailed documentation.
136   http://www.bacula.org/dev-manual/Configuring_Director.html#5227
137 - The examples directory has a new bacula_mail_summary.sh file that
138   creates a single email summary of any number of jobs. Submitted by
139   Andrew J. Millar.
140 - SunOS ACLs should now work thanks to a patch from David Duchscher.
141 - The database Id records should be 32/64 bit independent now. 64 bits
142   can be enabled by changing one define, but this has never been tested.
143 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
144   If this patch is applied, the number of days can be specified with
145   "list nextvol days=xx"
146   or
147   "status dir days=xx"
148   My use case is to be able to preview the next scheduled job (and the
149   next tape to be used) on fridays if there are no scheduled jobs during
150   the weekend.  This patch was probably back ported to 1.38.x
151 - Add nagios plugin to the examples directory. Submitted by
152   Christian Masopust.
153 - Modify most restore error messages to be queued so that they
154   appear at the end of the job rather than mixted with the restore
155   listing where they could be "lost".
156 - Apply patch supplied by user (slightly modified) to fix
157   correct detection of holes in block devices and FIFOs.
158   Bug # 506.
159 - Added a report.pl program to the examples directory from Jonas Bjorklund.
160 - Add enable/disable job=<job-name>.  This command prevents
161   the specified job from being scheduled. Even when disabled,
162   the job can be manually started from the console.
163 - Add two new queries to query.sql provided by Arno. One
164   list volumes known to the Storage device, and the other
165   lists volumes possibly needing replacement (error, ...).
166 - Implement new code for changing userid and group at startup. This
167   should get Bacula into the correct groups.
168 - Implement support for removable filesystems.
169 - Transfer rates are now presented in a more readable format thanks
170   to a user submission.
171 - SD is now aware of what volumes are mounted. More information is printed
172   in the Status report.
173 - The Pool Maximum Volumes directive is now respected in all places.
174 - A Storage device can now be specified in a Pool resource. It will override
175   all other Storage specifications.
176 - Most but not all directives accept true/false in place of yes/no.
177 - A patch from Karl Hakimian that reads JobIds, FileIndexes
178   from a database table for restore.
179 - There are a number of new tables. Some such as the Location table are
180   designed for user use in doing Volume Management software.
181 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
182   accept time qualifiers.
183 - Implement jobuid to replace old usage of job in keywords as
184   suggested by Eric Bollengier.
185 - Apply patch for enhancing wait from Eric Bollengier. One can now:
186    wait  (wait for all jobs to stop)
187    wait jobid=nn
188    wait jobuid=unique id
189    wait job=job-name
190 - Implement write variables for Python to set Priority (anytime), and
191   Job Level, only during JobInit event.
192 - Use the keyword ujobid to mean the unique job id; job or jobname
193   to mean the Job name given on the Name directive, and jobid to
194   be the numeric (non-unique) job id.
195 - Allow the SD to use multiple drives during a backup/restore (only
196   one at a time). This is not well tested.
197 - Integrate addition of line count limitation to bsmtp -l from
198   Sebastian Stark <stark at tuebingen.mpg.de>
199 - Split the bacula start/start script into four files:
200    bacula         -- starts and stops calling other scripts
201    bacula-ctl-dir -- starts/stops the director
202    bacula-ctl-fd  -- starts/stops the File daemon
203    bacula-ctl-sd  -- starts/stops the Storage daemon
204 - Remove automatic case folding on Windows FDs. You must
205   explictly use the 'Ignore Case = yes' option.
206 - Implement wild program in tools directory for testing
207   wild-cards. Almost identical to the regex program.
208 - Use the new bregex.c to implement Regex expressions on Win32.
209 - Apply patch from Christopher Hull
210   - Allow multiple connections to database with different
211     parameters.
212   - Invalidate the scheduler when doing a reload. Fixes seg
213     fault, but still 60 second window.
214   - Additional info in Reschedule message.
215   - Use set_jcr_job_status() everywhere to prevent loss of
216     cancel, error.
217   - Display peer IP in FD if error from connecting DIR.
218   - Don't increment file count for DIRBEGIN.
219   - Replace illegal characters in Win32 filename by _.
220   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
221   - Hash hard link filenames rather than linked list (performance).
222   - Fix for security failure in chdir on Win32.
223   - Add CreateDirectoryA/W win32 API entry points.
224 - Add /silent option to Win32 FD for Install/Remove service.
225   programs to duplicate Bacula's base64 algorithm using standard
226   routines. This fixes bugs #296, and 565. Patch submitted by
227   author of bug #565.
228 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
229   Hull.
230 - Modify LICENSE to correct some problems pointed out by Debian.
231 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
232     O_NOATIME is a open() flag which makes it possible to read a file without
233     updating the inode atime (and also without the inode ctime update which
234     happens if you try to set the atime back to its previous value). It also
235     prevents a race condition when two programs are reading the same file, but
236     only one does not want to change the atime. It's most useful for backup
237     programs and file integrity checkers (and bacula can fit on both
238     categories).                                                    
239   You enable it in the Bacula FileSet Options resource by setting:
240      noatime = yes
241   The effect of this option is similar to the keepatime option except
242   it is more efficient and avoids modifying ctime.
243 - Implement a pile of new man pages contributed by Jose Tallon.
244 - Implement a number of user supplied patches for DVD writing.
245 - Modify the database format for handling Migration jobs:
246    Add PriorJobId, RealEndTime to Job table
247    Delete MAC table
248    Remove Stripe from JobMedia record (not used, wasting space)
249    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
250    Add Cost to Location table.
251    Enabled to Media table and Location table.
252 - Security: harden authentication failure in FD by single threading errors
253   and forcing a 6 second wait.
254 - If using GCC (actually g++) add the following compiler flags
255   -fno-strict-aliasing -fno-exceptions -fno-rtti
256 - Turn on new bsnprintf() code.  This could cause print output
257   to look different.
258 - Implement job report that indicates where Storage and Pool
259   came from -- with overrides and Pool storage and NextPool,
260   it is all very complicated.
261 - Add more detail (Storage, Device) to list of volumes printed
262   for restore.
263 - Add new VOLMGMT message class. No messages are yet sent with this 
264   class.
265 - Add Catalog message destination in Messages resource that puts the
266   job report in the Log database table.
267 - Spend a lot of time integrating mkcdrec with the rescue disk.
268 - Add spooling/despooling info in status output of SD.
269 - Add Comment field to llist of a volume.
270 - Allow true/false in some yes/no questions.
271 - Implement update volume enable=(on|off|true|false|archived|0|1|2)
272
273 Additional Features Added for Win32:
274
275 Added DriveType directive to the Director's Include Option FileSet
276 resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
277 is only an implementation for Windows because it is the only platform that
278 has the concept of drives.
279  
280 Adds EnhancedWild directive to the Director's Include Option FileSet
281 resource.  Allowed values are: yes and no.
282  
283 When EnhancedWild is enabled then the processing of the
284 Wild, WildDir and WildFile is changed in the following ways.
285  
286   Patterns conform to Posix
287       \ is not a special character in character classification []
288       To match a - it must be the first or last character
289       To match a ] it must be the first character
290  
291       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
292       so it won't match multiple directory levels in a path
293  
294 Relative WildFile patterns (ones without a leading /) match
295 against the filename portion.  This in combination with the
296 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
297 abc*.def work as expected.
298  
299 Adds support for the shell's feature of brace expansion.
300
301 Here is an example where braces allow 24 lines to be expressed in 5.
302
303 # Exclude directories full of lots and lots of useless little files
304 WildDir = "[A-Z]:/{Documents and
305 Settings,{WINNT,Windows}/Profiles}/*/Cookies"
306 WildDir = "[A-Z]:/{Documents and
307 Settings,{WINNT,Windows}/Profiles}/*/Recent"
308 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
309 Settings,LOCALS~1}/History"
310 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
311 Settings,LOCALS~1}/Temp"
312 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
313 Settings,LOCALS~1}/Temporary Internet Files"
314
315
316
317 Here are some hints if you want to play with the Windows Director and/or
318 Storage daemon.
319  
320 Changer and Tape device names in Windows are Changer0, Changer1, etc and
321 Tape0, Tape1, etc.  If there isn't a device driver loaded for the Changer
322 then you need to use the address <Port>:<Bus>:<Target>:<Lun>.  Port is the
323 SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since
324 most adapters only have one bus), Target is the device's Target Device ID,
325 Lun is the Logical Unit Number.
326  
327 You must specify DeviceType = tape in the Device resource in bacula-sd.conf
328 since detection doesn't currently work.