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