]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
- Apply Martin's patch for fixing console modifications to Verify Jobs.
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.35.6
3
4   Bacula code: Total files = 396 Total lines = 116,116 (*.h *.c *.in)
5
6
7 Changes for 1.35.5
8 Major Changes:
9 - Tray monitor program
10 - Bacula Rescue CDROM     
11 - Bacula CD Image Manager
12 - Lots of improvements in the Rescue scripts -- better 
13   network detection, better mounting code, ...
14 - General bug fixes/stabilization
15 - French translation of manual by Ludovic Strappazon well    
16   underway.
17 - UTF-8 is supported in conio (some minor cleanup is needed).
18 - Improved conf scanning code allowing FileSet components to
19   be put on a single line (previously everything had to be on
20   a different line).
21 - Win32 files restored to an alternate directory will have the
22   colon following the drive letter turned into a / e.g. c: 
23   becomes c/. Previously the c: was stripped. This applies only
24   to files written to an alternate directory (i.e. using a where=).
25
26 New Directives:
27 - Added "Ignore FileSet Changes = yes"
28 - Added "Block positioning = yes/no" in Device resource in SD.
29 - Added "Multiple connections = yes/no" in Catalog record for
30   allowing multiple simultaneous connections to the database.
31   This is a major performance improvement for PostgreSQL.
32
33 Items to note!!!
34 - As of 1.35.5 you MUST do a database update.
35 - All daemons should be compatible with 1.34 with the exception
36   of the new FileSet features such as regular expressions.
37 - Regular expressions are not implemented in the Win32 FD.
38
39 Other Items:
40 - See below
41
42 Changes to 1.35.5:
43 22Sep04
44 - Incremented the release number because this version requires
45   an update to the database.
46   Use:
47     cd src/cats
48     ./update_bacula_tables  
49   to update an existing database.
50 - Implemented EndFile and EndBlock in the Media record. This will
51   allow Bacula to know exactly when to stop reading a tape if the
52   stupid tape driver does not give a logical end of tape indication 
53   and Bacula writes to the end of the tape getting an I/O error.
54 - Added new routines to update the database, and there are
55   new database creation routines to add the two new Media columns.
56 - The Media record is updated each time a JobMedia record is created.
57   This keeps the Media record up to date.
58 - Undid the code to use automatic type converions to char * in
59   POOL_MEM. This is due to the ugly consequences of essentially
60   destroying the class type nature of the class.
61 - Removed all the old mp_char() #define code.
62
63 Changes to 1.35.4:
64 22Sep04
65 - Add additional doc.
66 - Implement automatic POOL_MEM type conversion to char *. Thanks
67   to Martin Simmons for the suggestion.
68 - Remove some unneeded function overloading -- need removed by
69   automatic type conversion.
70 21Sep04
71 - Correct segfault in message.c with debug=200 (new code).
72 - Fix bug 109 verify with no options prints garbage.
73 - Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
74   by Frank Kardel, this should clear error conditions on NetBSD.
75 20Sep04
76 - Modify the rescue script to create mount_drives with
77   the order specified by Philip Nash (mkdir, mount).
78 - Tweak install chapter of French manual to add new paragraph
79   from English.
80 - Tweak restore tree message to be a bit clearer.
81 - Modify watchdog to wakeup after 60 seconds, or wakeup if
82   there is work to do.
83 - Modify watchdog stop routine to "ping" watchdog so that it
84   stops immediately rather than after sleep time.
85 - Fix btape to use new dcr blocks rather than its own.
86 - Fix butil.c to correctly handle Volume names for the
87   utility routines (broke when updating to dcrs).
88 11-19Sep04 (vacation)
89 - Implement multiple Storage specifications in the Job resource
90   (AND) each containing multiple specifications (OR). Not yet functional.
91   Note, this needs more work as most things now use
92   job->storage[0]->first() rather than looping through devices.
93 - Implement "Multiple connections = yes/no" in Catalog record for
94   allowing multiple simultaneous connections to the database.
95 - Add new mac.c (Migrate, Archive, Copy) to dird -- not yet implemented.
96 - Implement a new POOL_MEM class that automatically allocates
97   and deallocates a pool buffer.
98 - Overload a number of utility routines to permit using both
99   POOLMEM and POOL_MEM.
100 - Start converting to using POOL_MEM.
101 - There were a number of Bacula console ACL checks missing in
102   ua_run.c. It allowed users to run jobs they really should not.
103 - Correct a number of dates on the Copyright.
104 - Overload pm_strcpy() and pm_strcat() to handle new POOL_MEM
105   class.
106 - Overload bash/unbash_spaces to handle new POOL_MEM class.
107 - Make a *MASSIVE* pass through the Storage daemon eliminating
108   all use of jcr->VolumeName and jcr->VolCatInfo in favor of
109   dcr->...  
110 - Eliminate all all redundant arguments from calling sequences
111   in SD. This poses a number of problems due to the old way blocks
112   and records were allocated and released all the time. They are
113   now contained in the dcr. The problem is that old habits die hard
114   and there are still places where everything is not right.
115 - Implement "Block positioning = yes/no" in Device resource in SD.
116
117 Changes to 1.35.3:
118 09Sep04
119 - Add "Multiple Connections = yes/no" in catalog record. Only
120   the variable is implemented, no code yet.
121 - Close *all* FD unless debug on. 
122 08Sep04
123 - Add first cut of UTF-8 support to conio. It "seems" to be working
124   pretty well. Moving by words will definitely not work though.
125 - Improve detection and setting of gateway in the 
126   network_start script.
127 07Sep04
128 - Modify scan code so that in most places scanning will
129   continue across the end of a line.
130 05Sep04
131 - Begin major phase of 1.35 documentation.
132 - All outstanding bugs are fixed.
133 - Implement changes and improvements to rescue scripts as
134   proposed by Gaurav.
135 05Sep04
136 - Add correction to Phil's previous patch.
137 - Send all queued messages in SD and FD prior to closing down    
138   the job.
139 - Send queued messages in Jobs before terminating the job 
140   so that the messages print before the job report.
141 - Add a destructor so that the Console ACLs are properly
142   freed.
143 04Sep04
144 - Implement isolinux boot disk.
145 - Integrate Phil Stracchino's code (thanks for Matt's help).
146   It permits lists and ranges of jobids on the delete as in:
147   delete job jobid=1,3,5,11-16
148 03Sep04
149 - Apply Mike Acar's suggestion when looking for the next volume
150   to check purged volumes for recycling before doing a purge.
151 - Make some improvements to CDROM disk.
152 - Take another crack at ignoring drive open() errors during
153   polling.
154 02Sep04
155 - Add eliminate orphaned job records; eliminate admin records,
156   and eliminate restore records to dbcheck.
157 - replace sprintf by bsnprintf() in dbcheck.
158 - Added scan target to makefile in rescue cd to print scsi
159   devices.
160 - Added argument to berrno::strerror() to pass errno.
161 - Cleaned up a few more old strerror() calls and eliminated a
162   few of the now unnecessary set_errno() calls.
163 - Fixed a bug in the polling code that prevented more than 100
164   label reads (insanity check disabled if polling).
165 - Ignore bad return from open_device() if polling.
166 - Short circuit code if fatal error return from read_label() in
167   mount.c
168 01Sep04
169 - Add index file to JobId field of File records for PostgreSQL.
170 - Correct several bugs in the job queue scheduler concerning   
171   rescheduled jobs: 1. The SD status was not cleared causing a
172   wrong status to be displayed by Dir after rescheduling. 2. All
173   rescheduled jobs became zombies because the jcr use_count was
174   not decremented properly.
175 - Make the Catalog resource required in Client records.
176 - Order the listing of where a file is (item 2 on the restore
177   menu) by StartTime.
178 - Clarify when a filename only and a full path + filename must
179   be entered in items 2 and 8 of the restore menu.
180 - Fix logic error in resolution of names on IPv4 systems.
181
182 Changes to 1.35.2 released 01Sep04:
183 30Aug04
184 - Inhibit printing of FileSet for a restore as it is misleading.
185 - Cleaned up a number of minor scripting problems with the CDROM
186   creation.
187 - Fixed a race condition causing a Director crash on termination,
188   if a large number of SIGHUPs were sent during a multiple concurrent
189   set of backups.
190 28Aug04
191 - Completed integration of Rescue CD scripts with Bacula source.
192 28Aug04
193 - Added Ignore FileSet Changes = yes
194 - Added more error checking to the spooling code.
195 24Aug04
196 - Applied a patch from Peter Eriksson that removes a dynamic stack
197   allocation (replaced by alloca) and fixes some const problems.
198 - Fixed a free() of a static variable in the new IP code bnet.c
199 - Got the new Bacula Rescue CDROM booting.
200 - Replaced a dynamic template by a simple store when using the
201   native C compiler.
202 - Reworked some of the block.c error handling.
203 - Changed a Dmsgx(000, to Dmsgx(100 in dev.c that was dumping
204   debug output on a user.
205 - Integrated patch from 1.34.6 block.c to 1.35
206 17Aug04
207 - Fix conio.c problem on Solaris.
208 - Add debug code to lock_jcr_chain().
209 - Lock jcr chain around less code.
210 - Implement call by reference for Mmsg() and pm_strxxx() to
211   simplify calls.
212 - New IP address specification is used as follows:
213     [sdaddresses|diraddresses|fdaddresses] = { [[ip|ipv4|ipv6] = { 
214            [[addr|port] = [^ ]+[\n;]+] }] }
215
216   so it could look for example like this:
217      SDaddresses  = { ip = {
218             addr = 1.2.3.4; port = 1205; }
219         ipv4 = {
220             addr = 1.2.3.4; port = http; }
221         ipv6 = {
222             addr = 1.2.3.4;
223             port = 1205;
224         }
225         ip = {
226             addr = 1.2.3.4
227             port = 1205
228         }
229         ip = {
230             addr = 1.2.3.4
231         }
232         ip = {
233             addr = 2001:220:222::2
234         }
235         ip = {
236             addr = bluedot.thun.net
237         }
238      }
239   as a consequence, you can now specify multiple IP addresses and
240   ports to be used. In the case of a server, it will listen on
241   all those that you specify. In the case of connecting to the server,
242   Bacula will attempt connecting to one at a time until it succeeds.
243   And, in a few other special cases, Bacula will use only the first
244   address specified.
245
246   The default port numbers are still the same and the services and hosts 
247   are also resolved by name. So now  you could use the real names for the 
248   port numbers.
249
250 Release 1.35.1 16 August 2004:
251 - Added Tape Alert feature (see Alert Command).
252 - New IPv6 code (untested)
253 - New way of specifying Addresses and Ports -- permits having
254   server listen on multiple ports.
255 - Regular expressions in Options directive.
256 - Reader/writer programs in Options (not yet fully implemented,
257   please do not use).
258 - Fixed specification of bind address on Win32 (thanks to     
259   Martin Simmons).
260 - Update all Volumes from Pool record.
261 - Update License to terminate rights of anyone suing a GPL licensor.
262 - Improved error messages for Win32 and when running external
263   programs (e.g. RunBeforeJob).
264 - Implement reload of conf file in Directory on SIGHUP.
265 - Building restore tree is much faster on large filesets
266   due to binary insert.
267 - Alert Command in Device resource of Storage Daemon.
268 - New IP address and port directives.
269 - reader = xxx, writer = yyy in Options within FileSet of
270   Director's conf file.
271 - regex = xxx in Options within FileSet of Director's
272   conf file.
273 - New command options: update AllFromPool updates all
274   Volumes with Pool defaults.
275 - .backups client=xxx (for GUI programs).
276 - A duration specification may have any number of integer/modificator
277   specifications. E.g.:
278   1 week 2 days 3 hours 10 mins
279   1 month 2 days 30 sec
280 - Print error message if Alert Command fails in bpipe_open().
281 - Doc Alert command.
282 - Eliminate unnecessary class in findlib/attribs.c
283 - Add necessary empty files to new tray-monitor directory.
284 - Implement Class with template in findlib/attribs.c to do casting
285   of uint64_t into stat packet types to avoid compiler warnings.
286   Thanks to Meno for this idea.
287 - Make some modifications to satisfy VC++.
288 - Apply Martin Simmons' second patch to compat.cpp to fix the line
289   I previously missed.
290 - Apply Meno's fix to bnet that corrects use of ipaddr after free_addresses,
291   back out my kludges, and it works.
292 - Modified configure.in to by default add -Wall.
293 - Found some problems with printing IP addresses -- will notify Meno.
294 - Added printing Pool to Job report.
295 - Fixed several places where dlists were not being released 
296   (term_job_server, ...)
297 - Started implementing New() for dlists. Spent a lot of time,
298   but could not get it to work.
299 - Fixed a mutex deadlock between the job queue scheduler and the
300   watchdog.
301 - Made add_address() static.
302 - Added bsnprintf to address_conf.c
303 - Apply Marin Simmons patch to inet_aton() in compat.
304 - Build on Win32 -- required a few changes because of new IP code.
305 - Implement program reader code in Dir and FD -- not tested, and
306   a few corrections for writer code are needed in FD.
307 - Rework SQL for pruning. Add Admin pruning. Prune failed
308   jobs in Verify and Restore.
309 - Don't put commas in listing produced in restore so that users
310   can cut and past JobIds without having commas in the way.
311 - Change size_t to socklen_t in filed.c -- reindent a bit.
312 - Remove addr_list->size from buf size definition in bnet.c
313 - Create a Developer's document.
314 - Add prompt for Update volume from pool and update all 
315   Volumes from pool.
316 - Implement user friendly time duration input editing.
317 - Add buf len argument to edit_utime().
318 - Added eliminate orphaned Client records to dbcheck.
319 - Implement Alert Command in SD Device conf. 
320 - Fix updating a Volume from the pool record -- it never changed
321   anything.
322 - Implement updating all Volumes from pool record.
323 - Add patch by Denis Shaposhnikov that fixes excludes of directories
324   in new style FileSets.
325 - Merge Meno's IPv6-1 code.
326 - Update License to terminate rights of anyone suing a GPL licensor.
327 - Add Pruning doc sent by Bryce Denney
328 - Correct inconsistencies in restore command doc pointed out by user.
329 - Don't edit commas in SQL intergers if they are not stricly integer.
330 - Update all pools in all DBs when starting the Director.
331 - Implement final cut of berrno and update Win32 code.
332 - Update copyright to include a termination clause. Add copyright to
333   binaries.
334 - Implement .backups client=xxx for Nicolas.
335 - Make first cut at implementing berrno class to handle Unix, Win32
336   and bpipe errors. Bpipe still needs to be implemented.
337   This fixes (not yet tested) the Win32 errno problems in the compat lib.
338 - Fix btape compile problem reported by Martin Simmons -- thanks.
339 - Add ./configure detection of sys/tape.h
340 - Apply two fixes to recent changes to dev.c submitted by
341   Martin Simmons.
342 - Add checks in btape for correct size of off_t, and correct editing
343   of 32 and 64 bit values.
344 - Move supported OS/hardware into a chapter by itself.
345 - Fix bscan, which did not handle walking dcr list.
346 - Remove old attach_jcr_to_device() code.
347 - Fix config from Andy Wettstein's patch to use bitypes.h and detect
348   uint32_t, ... definitions.
349 - Fix a few compiler warnings because of casting pointers to int and
350   vise versa.
351 - Do some minor cosmetics to query.sql. nothing changed.
352 - Don't call stop_thread_timer() in backup.c if timer not started.
353 - Fix bug with out of order JobIds on restore.
354 - Make watchdog examine queues once every 10 seconds instead of once
355   a second.
356 - Add more bools to dev.c
357 - Fix walking attached DCRs in bscan.c
358 - Doc updates
359 - Start work on rescue files. Integrated RAID changes. 
360 - Print a message when query.sql moved to query.sql.old during install.
361 - Move setting of FreeBSD chflags() to after utime() to avoid error
362   messages is immutable bit is set.
363 - Turn off heartbeat in FD when -s is given so that we can 
364   debug without a flood of signals.
365 - Close and reopen the device during an append test in
366   btape. This better tests appending as if Bacula stops/restarts.
367 - Remove old attach/detach_jcr_to_device() code
368 - Add new attached_dcrs code.
369 - Remove unnecessary subroutine for bsnprintf.
370 - Replace sprintf() by home-grown code in edit_uint64 ...
371 - Begin implementation of dev->attached_dcrs. 
372 - Remove scripts/fd.in from configure.in
373 - Add printing of JobId when a Job is started from the console.
374 - Remove fd/fd.in from scripts directory.
375 - Fix a number of bugs in dbcheck concerning the -c option
376   (i.e. with a config file).
377 - Made RH start scripts use -u and -g options.
378 - Many more DCR changes.
379 - Add job message indicating that the job has been rescheduled
380   and when.
381 - Fix job end time so that it is always updated. Previously it
382   was not updated when a job was rescheduled.
383 - Correct SQL for restoring job by path/name. It could sometimes
384   pickup the wrong JobId -- submitted by a user.
385 - Add a number of "%s" in editing database errors -- security issue.
386 - Ensure that the NumVols is incremented and decremented in the
387   pool record when Volumes are created or deleted.
388 - Cleanup error handling when labeling a tape. If vol was read-only,
389   the device would still be marked as having found a label.
390 - Put ftCreationTime into st_ctime of stat packet. Hopefully
391   this will fix the problem of noticing files have been moved
392   into the save path after a Full save.
393 - Fix bug in "status dir" where not all entries are listed.
394 - Cleanup some improper result printing in configure.
395 - Optimize a couple of insertions in binary_insert of dlists.
396
397 Release 1.35.0 08 July 2004:
398 - Apply Christopher Hull's const patch for PostgreSQL
399 - Add code to block.c to detect if block header is destroyed.
400 - Add debug code for memset checking for zeroing 1900-3000 bytes
401   which is what happened to the block headers.
402 - If block header is destroyed, read the next block. Probably
403   should return with new status similar to the SHORT block 
404   return.
405 - Add more debug info to bls for bad blocks.
406 - More implementation of DCRs.
407 - Eliminate argument passing in SD by using dcr.
408 - More int->bool conversions.
409 - Add file:block to a number of read/write error messages.
410 - More int -> bool conversions.
411 - Modify the SD piece by piece to use DCRs everywhere.
412 - Cleanup some printout for query command. 
413 - Fix typo in cats/mysql.c
414 - Work on cleaning up tape driver a bit (use bools, better calling
415   sequences).
416 - Attempt to fix multi-Volume disk backup. Needs to be tested.
417 - Add Regular expressions to FileSet options.
418 - Correct configure.in to use ${MAKE} for doing the dependencies.
419 - Make MySQL and PostgreSQL try for 30 seconds to connect before
420   giving up.  
421 - Correct Gnome 1.4 Makefile to build without cats library.
422 - Correct a crash reported (with patch) by Jonathan Soong 
423   when attempting to backup an ACL on a symlinked file.
424 - Fixed an off by one bug in the new resources pointer code.      
425   res_head array was one too small.
426 - Added Errors to last_job list. This allows detecting jobs
427   that terminated in a warning.
428 - Implement setting the Win32 icon to yellow instead of red
429   when the job terminated OK but with warnings.
430 - Fix the Win32 makefile and VC project file. The links were
431   not including the Win32 dlls.      
432 - Delete some old Win32 code that was turned off.
433 - Eliminate a few more Win32 compiler warnings.
434 - Reduce the output produced by NIS (Win32 install builder).
435 - Simplify some of the #ifdefing in compat.h
436 - Rewrite spooling error handling when I/O error occurs. It is
437   a bit tricky, requiring to truncate the file so that a despooling
438   will work correctly. Needs to be tested.
439 - Make better subroutines for setting up for a new job.
440 - Start putting all DB ids on #defines (going to 64 bits).
441 - Fix gnome-console Makefile.in to work again.
442 - All "level=Incremental/Decremental" to the estimate command. This
443   required some re-arrangement of subroutines at a fairly low level.
444 - Apply Piotr Jaworski's patch (patch-r-status.diff) to update the
445   catalog status when a backup job starts running.
446 - Add (char*) cast to readline call in console.c for old readlines.
447 - Copy Makefile.in from gnome2-console to gnome-console (to eliminate
448   need for cats library).
449 - Modify spooling code to handle write error (e.g. spooling disk full)
450   more gracefully. Previously despooling would fail.
451 - Reduce casting in smartall.c a bit and add counters for 
452   bytes, max_bytes, buffers and max_buffers.
453 - Fixed reload algorithm to stack both job end callback and the
454   table id.
455 - Fixed the orphaned buffer after reload (job_end_push had to be
456   destroyed.
457 - Destroy cond var (jcr->term_wait) only if initialized.
458 - Sort the Scheduled Jobs list by start-time, priority.
459 - Implement resources on a pointer.
460 - Fix Gnome console crash on up/down arrow with no history.
461 - Finish first cut of SIGHUP code. To make really work need res
462   on a single pointer rather than in fixed memory.
463 - Fix a number of places in query.sql where multiple JobIds are
464   printed (due to JobMedia records).
465 - Add new query: List jobs on Volume given Volume name.   
466 - Correct socket close on Win32 in bnet.c (in addition to compat.cpp).
467   Caused fd leak in Win32 for each connection.
468 - Remove vol labeled test in askdir update_volume_info so that non-labeled
469   Volume in catalog can be marked in error.
470 - Close socket in SD when connection rejected. Caused fd leaks.
471 - Initialize job_start_wait cond variable after every new_jcr() otherwise
472   NetBSD gets error in library when trying to delete it without being inited.
473 - Fix typo (9 instead of 0) return status in write_new_volume_label.
474 - Fix mount.c to call routine that correctly marks a volume in error.
475 - Move code to rewrite volume label to subroutine -- a bit cleaner.
476 - Finish implementation and testing of new restore tree code.
477 - Implement feedback while tree is loading.
478 - Eliminate printing INFO message in UpdateDB (cats) -- it generates
479   "false" error messages.
480 - Eliminate some GTK error messages when running the Gnome2 console.
481 - Begin restructuring tree.c for inclusion of the binary_insert()
482   routine.         
483 - Apply Peter Eriksson's lib file order changes in linking for IRIX.
484 - Abort configure if Internal is  selected as the database.
485 - Add testimonials to the Web page
486 - Add the bugs list to the Web page "lists".
487 - Clarify the English in SuSE and Slackware when SD not running.
488 - Applied another extern "C" patch from Peter Eriksson.
489 - Fixed a bunch of VC warning messages.
490 - Applied the patches sent by Andreas Jellinghaus: build Gnome and  
491   wx-console in client-only build if configured; add ./configure option
492   to permit setting of sbin modes -- default is 0745 as before; remove
493   cats library from Gnome console build; remove old version from Gnome
494   About box. Thanks Andreas.
495 - Applied Peter Eriksson's const changes to the source code. Thanks Peter.
496 - Implemented a binary_insert() method for dlists -- intended to be used
497   in the restore tree routines.
498 - Turned on my bsscanf() code, which replaces sscanf() by my routines, which
499   are a subset of sscanf() used by Bacula, but which have known 32/64 bit
500   behavior rather than vendor dependent !@#$%*.