]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
90330c2c2881ba9c4bf97605d3a43b92e634a330
[bacula/bacula] / bacula / ChangeLog
1 2002-09-04 Version 1.25 (01Sep02) Released
2   General:
3 - Added .cvsignore files in each directory to cut down on the
4   CVS output when scanning directories and finding Makefiles
5   and such which are not part of the CVS tree.
6
7   Changes submitted this submission:
8 - Cleaned up a lot of the error messages in Verify, including
9   indenting.
10 - Had to remove some of the "automatic" error message printing
11   in the DB because they are in fact things that come up 
12   for Verify but not really errors.
13
14
15   2002-08-30 Version 1.25 (30Aug02) Beta
16   From kes30Aug02
17 - Fixed a bug where only the first file was restored if
18   it is hard linked. The other links were lost.
19 - In some cases of restoring to alternate directories, softlinks
20   were not properly restored.
21
22   From kes28Aug02
23   General:
24 - Bacula backups now run up to 12 times faster than version 1.24
25 - Bacula can run multiple simultaneous Jobs.
26 - Had to turn off TRANSACTIONS in SQLite because it doesn't work
27   with multiple simultaneous jobs (I'm working on this).
28 - Added a better Job printout for Restore Jobs.
29 - Added a save/restore Rate to backup and restore jobs. This
30   does not yet subtract out operator wait time so it will be
31   underestimated it the Job waits on the tape (mount/label).
32 - Fixed a major bug caused by free()ing a buffer twice in
33   the Restore code. This made the SD more or less useless after
34   any restore Job. Arrggg!
35 - DIR - SD protocol changed, both must be updated at the same time.
36 - DIR - FD protocol changed in upward compatible way. Upgrade of   
37   FD not required, but recommended.
38
39   Changes submitted this submission:
40 - Added bell to "make" when errors are detected.
41 - Changed default compile option from -g to -g -O2
42 - Additional documentation as usual -- much based on questions or
43   feedback from users. Thanks.
44 - Fixed example config files to use new syntax and to have a 
45   Restore Job.
46 - Define ETIME to ETIMEOUT for Irix
47 - Added JCR filed to DB structure permitting direct printing error
48   messages from within the Database subroutines.
49   Some error messages may be printed twice as a consequence.
50   When I see them or someone reports them, I will remove the double.
51 - Added JCR to the bsock structure. This allows direct printing
52   of network errors from within the network code.
53 - Made most "trivial" debug messages have level 100 or greater. This
54   allows for easier debugging of new code using the range below 100.
55 - Began replacing all Emsg() with Jmsg() using a NULL as the JCR in    
56   Jmsg() is the same as Emsg().
57 - Fixed several crashes in the Director because of malformed config files.
58 - Added SpoolAttributes to Job resource.
59 - Pass CatalogFiles to SD. If set to no, the attributes are dropped 
60   within the SD rather than being sent to the DIR.
61 - Cleaned up a number of information/error messages in user interface.
62   This includes eliminating the "pretty please" response in favor of
63   "yes/no" to delete volumes and pools.
64 - Cleaned up quite a number of uninitialized variables reported when going
65   to -O2, most were harmless, but a couple could cause problems.
66 - The cd command in restore was not working correctly (it didn't allow some
67   legal cds).
68 - Fixed a segmentation violation in the directory tree handling code in 
69   the restore command.
70 - Handle a few error conditions in the restore command better.
71 - Permit "Where" to be set to nul in modification of a run command.
72 - Clarified the error message for Verify if an InitCatalog has not previously
73   been done -- thanks Chuck.
74 - Add MaximumConcurrentJobs to FD.
75 - Added code to mem_pool to die if a buffer is released twice.
76 - Lots of work done on SD for multiple simultaneous jobs. Split device.c
77   into device.c, mount.c and acquire.c
78 - Started writing new lock code for SD, but may back it out -- needs more
79   thought. Current code works, but is too complicated. Maybe can simplify it.
80 - Cleaned up the SD tools code quite a bit. Added bootstrap to all tools.
81 - Ensure that tape session labels are not split across two blocks. This makes
82   reading them back much easier.
83 - Fixed another restore bug concerning tape labels on multi-volume saves.
84
85 =============================================================================
86 2002-08-14 Version 1.24
87   From kes12Aug02
88 - Made a new tools directory.
89 - Moved smtp into the tools directory.
90 - Created a dbcheck program in the tools directory that
91   checks for certain database errors and if requested fixes them.
92 - Put the database link flags on DB_LIBS so that it now only is
93   on binaries that actually need it.
94 - Document dbcheck and testfind programs.
95 - Move testfind to tools directory.
96 - Check for FileSet after getting Client name in Restore command.
97   Modify all necessary SQL commands to accept FileSetId.
98 - Add a db_get_fileset_record in cats directory.
99 - Correct list last 20 files concatenation to be MySQL 
100   dependent. They aren't SQL standard. Use SQL standard || for
101   other SQL programs.
102 - Modify dir command in file selection to produce a long form
103   listing of the file/directory name.
104 - Add platforms/irix/*.in files to CVS
105 - Make Console command scanner accept quoted value fields.
106 - If after selecting Client to restore, there are multiple
107   FileSets, ask user to select one.
108 - After obtaining JobIds for restore, ensure that there is only
109   one MediaType, and select a Storage resource to be used.
110
111   From kes11Aug02
112 - Made restore actually work.
113 - Made console and gconsole be configured (requested by Chuck)
114 - Updated kernstodo
115 - changed fs in Job record to fileset for clarity
116 - The console run command was not properly picking up the command
117   line arguments.  Fixed!
118 - Changed add/remove/rm to mark/unmark
119 - Volume keyword VolumeName was wrong, changed to Volume (in restore bsr).
120 - Pass jcr to parse_bsr, and if non-NULL, it will output error messages
121   to Job stream rather than Emsg.
122 - Modified lexical scanner to include caller context so that jcr can
123   be stored in lex context allowing error messages to be properly 
124   routed.
125 - Renamed the Job message chain to be jcr_msgs. This eliminated the      
126   previous confusion with the default value, now named jcr->messages.
127 - Implemented multi-volume bsr records.    
128 - Implemented pm_strcat() and pm_strcpy() to cat/add to memory pool
129   buffers in same way as strcat/strcpy, but expanding buffer.
130 - Modified db_get_volume_names to handle arbitrarily long Volume list.
131
132   From kes07Aug02
133 - If the Console program terminated during the printing of messages,
134   the message file was left locked. This was corrected by using the
135   new read-write lock code.  
136 - Implemented Pw() and Vw() for obtaining and releasing a write lock
137   using the rwl_xxx routines.
138 - Deleted some old pthread_mutex code from mysql.c
139 - In making the Irix port, I previously corrected the base64 routine so 
140   they were not sensitive to the machine definition of char. This made
141   them incompatible with previous versions invalidating MD5 signatures
142   which are in base64 format. I have now corrected this, making the
143   routines compatible with the previous version but also insensitive
144   to the default definition of char.
145 - Removed some unnecessary NPRT() usage in signal.c (pointed out by
146   the Irix compiler).
147 - Add back BNET_NONO for compatibility with older File daemons.
148 - Implement runing a restore Job in the restore command.
149 - Make installation of query.sql unconditional. To prevent you own file
150   from being overwritten, give it a different name.
151 - Made parse_command_args() in ua take command from ua->cmd, this
152   simplifies it and allows usage in other places -- e.g. building
153   arguments for created run command in restore.
154 - Cleaned the naming of s_full_ctx to be s_jobids.
155 - Write the bsr created in restore to "working-directory"/restore.bsr
156 - Fix bugs in command line scanner in run command -- also some misplaced
157   breaks!
158 - Eliminate static cmd in ua_server.c
159 - Eliminate segmentation fault when using the Run command in the
160   Console -- forgot to init_msgs().
161
162   From kes06Aug02
163 - Did a good amount of documentation.
164 - Added sql_cmds.c to CVS, forgot, pointed out by Chuck.
165 - Added new platforms/irix directory to CVS
166 - Turn off transaction debug code in sql.c
167 - Reworked the scheduler so that it handles the same Job starting
168   twice in the same hour. Previously it took one or the other.
169 - Tightened up the "slop" in the timings that I programmed to ensure
170   that the same job isn't run twice or that no job was missed.
171 - Increase the sleep time.
172 - Used job_type_to_str() in status so that Admin jobs are correctly reported.
173 - Add internationalization message chars to a number of routines
174   in util.c
175 - Make the watchdog timer clear the mutex when it exits.
176 - Some tweaks to the Restore command. It needs fixing when a Job spans
177   two or more volumes.
178
179   From kes05Aug02
180 - Initial cut at adding Irix File daemon support.
181 - Lots of work on the restore command.
182 - Take a stab at eliminating the "broken pipe message"
183   when the console program prematurely terminates.
184 - Reimplemented transactions for SQLite by keeping
185   them all in the same thread.
186 - quit in the Console program now waits for Bacula to
187   quit. To immediately quit, you must enter .quit
188 - Eliminated BNET_EOF -- this COULD have some negative consequences
189   on interdaemon communications.
190 - Define Job termination status for Admin jobs.
191 - Write new bstrncpy() function that guarantees that strcpy is
192   properly terminated.
193 - Fixed command input in ua_input.c to accept quoted items as a
194   single field. 
195
196   From kes01Aug02
197 - The changes that added indexes to the SQLite database were
198   lost -- thanks to Chuck for pointing this out. Redone.
199 - Fixed a problem quoting strings in SQLite. This showed up
200   as database errors with files containing ' or " in the filename.
201 - Implemente restore command -- still in progress.
202 - Added indexes to all fields in SQLite that exist in MySQL.
203 - Moved unused immortal files from src/lib to src/immortal.
204   This will permit splitting depkgs.
205 - Started work on adding embedded MySQL. Cannot get the tables
206   to work for the moment. Please don't try to use this option.
207 - Convert to using single quotes for enclosing all strings.
208 - Implement correct quoting algorithm for SQLite strings.
209   Is dequoting needed?
210 - Started centralizing SQL statments in the Director in sql_cmds.c
211 - Changed a number of M_ABORTs to M_ERROR_TERM so that program terminates
212   but does not produce a dump.
213 - Allow wild-card matches in bsr for Client name, and Job.
214 - Change OflineOnUnmount=no as default.
215 - Fixed improper printing of filenames containing a space in bls.c
216   Thanks to Carlos for reporting this.
217
218 ===========================================================================
219 2002-07-26 Release 1.23a
220 - Fix segmentation fault is FD status.
221 - Turn off TRANSACTIONs for SQLite.                        
222
223 ===========================================================================
224 2002-07-23 Release 1.23
225   From kes22Jul02
226 - Updated Bacula to handle some minor differences in MySQL 4.0.2
227   (still works with older MySQLs).
228 - Updated MySQL documentation to correct some minor errors.
229 - Added kernstodo to CVS
230 - Fixed create_mysql_database, which I recently accidently broke.
231 - Disallow zero length volume names in Console program.
232 - Create alter_mysql_tables and alter_sqlite_tables for conversion
233   from 1.22 table format to 1.23 table format.
234
235   From kes20Jul02
236 - Investigation of SQLite performace problems reported by Chuck.
237 - Updated ChangeLog
238 - Updated README
239 - made root@localhost the default email address because many smtp
240   servers reject root but accept root@localhost
241 - Added an autochangers chapter to the manual.
242 - Documented most of the new features in 1.23
243 - Modified the SQLite interface code to start a transaction at the
244   beginning of a job and commit it at the end of the job. It
245   also commits it after 10000 changes. Hopefully this will
246   improve performance.
247 - Set the default cache pages from 2000 to 10000 for SQLite (i.e.
248   about 15Megs of memory) hoping to improve performance.
249 - Terminate last filename referenced in FD prior to copy to
250   avoid race problem with multiple threads and no locking.
251 - Enhanced the status output to include the JobType                
252 - Print an error message if the email program terminates in error.
253 - If your machine has an MTUNLOCK, do it before doing an OFFLINE to
254   ensure that the door is unlocked.
255 - Added code to stored/append.c to spool attributes. This is in
256   a testing stage and must be explicitly enabled.
257 - Added a no_attributes variable to stored/append.c that prevents
258   the attributes from being sent to the Director. As yet, no way
259   to turn it on.
260 - Modified SQLite code so that after 10000 updates any transaction
261   is committed, then restarted. This keeps it from using too much
262   memory.
263 - Set the default cache size to 10000 pages (previously 2000).
264 - Fixed a segmentation fault on Sun due to no default value for
265   the JobStatus.
266 - Added the same indexes to SQLite that I exist in MySQL. This
267   VASTLY reduces CPU usage for lots of inserts.
268 - Added spooling to bnet_send().
269
270   From kes18Jul02
271 - The following two changes were prompted by questions/suggestions
272   from A Morgan.
273 - If you have "AlwaysOpen = no" in your SD Device
274   resource, Bacula will free() the drive when it
275   is finished with the Job.
276 - If you have "Offline On Unmount = yes", in your
277   SD Device resource, Bacula will offline (or eject)
278   the tape prior to freeing it.
279 - Added Maximum Open Wait to allow open() to wait if drive is busy.
280 - Added RunBeforeJob and RunAfterJob records to Job records.
281   This permits running an external program with the following editing
282   codes:
283     %% = %
284     %c = Client's name
285     %d = Director's name
286     %i = JobId
287     %e = Job Exit
288     %j = Job
289     %l = Job Level
290     %n = Job name
291     %t = Job type
292
293   From kes17Jul02
294 - Added autochanger support to devices.c
295 - Allow user to change Slot in the Volume record.
296 - Implemented code in lib to run an external program
297   (tape changer)
298 - Implemented a changer script for mtx.
299 - Currently the changer commands used are:  
300     loaded -- returns number of slot loaded or 0
301     load   -- loads a specified slot
302     unload -- unloads the device (returns casette to slot)
303 - Other changer commands defined but not yet used:
304     list   -- returns list of slots containing a cassette
305     slots  -- returns total number of slots 
306 - Implemented ChangerCommand, specified in the SD Device
307   resource, permits editing of:
308       %% = %
309       %a = archive device name
310       %c = changer device name
311       %f = Client's name
312       %j = Job name
313       %o = command
314       %s = Slot base 0
315       %S = Slot base 1
316       %v = Volume name
317 - Implemented MaximumChangerWait default 120 seconds. It is 
318   specified in the SD Device resource.
319
320   From kes15Jul02
321 - Moved techlogs from main directory to be subdirectory of doc
322 - Added code for strerror_r, and detection of gethostbyname_r().
323 - The protocol between the Director and the SD has changed.
324 - Major rework of SD tape mounting to prepare for Changer commands.
325 - Separated Update Media record and Create JobMedia record. These
326   are done from the SD by calling the Director. Need separate Create
327   JobMedia so that when a Job spans a volume, all other Jobs writing
328   the same volume will also have JobMedia records created.
329 - Added message to user indicating selection aborted if he enters .
330   to a Console selection request.
331 - Create a jobstatus_to_ascii() routine for use in status commands.
332   This makes a single routine from three separate pieces of code.
333   Updated the code to properly handle more (all) termination statuses.
334 - Tried to fix the gnome-console to handle history a bit better. There
335   are still some problems with focus not being properly set to the edit
336   box after history replacement.
337 - Removed the shutdown() from bnet_close() hoping to fix Console termination
338   errors that are occassionally seen -- no luck.
339 - Moved add_str() to lib/util and renamed it add_str_to_pool_mem() so that
340   it can be used to edit Job termination codes and Changer command codes.
341 - Reworked how the SD mounts tapes (in device.c) so that control passes through
342   only a single routine. The logic is much simpler than previously, and now
343   adding AutoChanger code is straight forward.
344 - Made SD tape mounting much more fault tolerant -- more cases retry instead
345   of terminating the Job.
346 - Wrote code to edit_device_codes() for Changer commands. Not yet fully     
347   implemented.
348 - Added a ChangerDevice directive to the Device resource. Still need to add
349   ChangerCommand.
350
351   From kes07Jul02
352 - This documents what I did while on vacation. 
353 - A fair amount of documentation.
354 - Implemented Verify Volume to Catalog (needs renaming)
355 - Modified the database to include new MarkId field as
356   well as Counters. Database level is incremented from 1 to  2.
357 - Added first cut of managing autochangers by implementing Slot in DB.
358 - Fixed a good number of M_ERROR messages to be M_FATAL where appropriate.
359   Also converted a number of Emsg() to Jmsg() permitting better Job error
360   messages.
361 - First cut at implementing a general packet passing mechanism for bsock
362   to replace printf and sscanf for passing data.     
363 - Made make_xxx_tables and drop_xxx_tables and create_xxx_database
364   for bdb as well as sqlite. With this each database has the
365   same set of scripts (with the exception that MySQL has grant_privileges).
366 - Modified Makefile to only install the database scripts for the
367   database that you are using.
368 - Updated the pdf script to include all the html files.
369 - Did quite a lot of documentation.
370 - Made Bacula compile correctly with DEBUG turned off.
371 - Implemented Pmsg() macros that permit using the debug print
372   routines even with DEBUG off.
373 - Updated job_cancelled() macro to handle JS_FatalError.
374 - Changed db_find_last_full_verify() to db_find_last_jobid(). This
375   permits working with Verify Volume to Catalog.
376 - Removed TRANSACTION code from incrementing NextId for SQLite. 
377 - Implemented quick and dirty (not fully functional code) so that
378   console program does not die if ctl-Z is entered. 
379 - Cleaned up backup.c a bit adding a bail_out goto to ensure proper
380   handling of errors with minimum code.
381 - Added passing Slot back and forth to Storage daemon with Volume info.
382 - Implemented Slot in Media record in DB.
383 - Implemented first cut of Counter resource in dird_conf.c. A counter
384   resource is part of the Pool resource.
385 - Implemented necessary database record. However, the resource doesn't
386   yet create a DB record.
387 - Implemented onefs (One File System) and recurse options on Include
388   resource.
389 - Implemented autopruning of Verify and Restore Jobs.
390 - Did a better job of calculating thread_concurrency() for Sun systems.
391   This permits better multi-threading allowing all the threads to run
392   at the same time.
393 - Implemented a wait_for_storage_daemon_termination(), which is used by
394   backup and verify volume.
395 - Clarified a number of UA prompts, and add feedback where certain commands
396   completed but printed nothing. (More work to be done here).
397 - Added a pile of new code to implement Verify Volume to Catalog. It is sort
398   of a hybrid of "restore" and "verify" in that it actually reads the tape,
399   then compares it to the catalog.  Need Verify Volume to Client.
400 - Added a good number of checks for job_cancelled() this should permit
401   quicker and more reliable cancelling of jobs.
402 - Fixed one bug in restore where I used ofile instead of lname, which means
403   that if the lname was too long, the memory was not properly reallocated.
404 - Cleaned up find_one.c in findlib quite a bit.
405 - Link smtp static so that it works even if the libraries are messed up.
406 - If mail host is not found, retry with local host in smtp.
407 - Added slot and stream to the bootstrap record processing.
408 - Do offline on tape cartrige for unmount command. This can be turned off
409   by the user in the config file. OffLineOnUnmount in Device resource.
410 - Implemented AutoChanger = yes/no in Device resource.
411
412 ===========================================================================
413 2002-07-07 Release 1.22
414 - All the basic Restore code to handle the boostrap file is
415   now implemented with the exception of the Console Restore command.
416 - Retained compatibility with previous Restore providing no 
417   bootstrap file is specified. However, the old code (JobId based)
418   will go away in a future release.
419 - Fixed a number of segmentation faults in the Console program due
420   to printing of NULL pointers -- thanks to Chuck and his Sun for
421   finding and reporting them -- mostly in ua_output.c.
422
423   From kes25Jun02
424 - Null pointers now are printed as *None* if NPRT() is used.
425 - At the request of Phil, all resources are now chained in in the
426   order they appear in the config file.
427 - Implement Bootstrap record in the Director's config file, which
428   allows you to specify a predefined bootstrap file for Restore Jobs.
429 - Allow Bootstrap on the Restore record. This is deprecated.
430 - Implemented code to pass the Bootstrap file, if defined, to the
431   File daemon, then from the File daemon to the Storage daemon.
432 - Added ability to set Bootstrap file in the Console when running a Restore.
433 - Allow scan_error() routine to be passed to lex_open_file(). This permits
434   using lex in the Storage daemon without worrying that it will ABORT on
435   a syntax error.  More work is needed to direct the error messages correctly.
436 - Improved error messages a bit when config syntax errors are found.
437 - Tested and corrected some errors in match_bsr.c
438 - Removed askdir.c from bls and bextract by defining dummy entry points.
439 - bextract now has bootstrap pretty well integrated.
440 - Changed bextract ABORTs into FATAL and exit(1) or ERROR_TERMINATE.
441   More user friendly.
442 - Eliminated at least one lld and replaced it by edit_uint64() 
443 - Eliminated a few more _PROTO()s.
444 - Corrected a problem with the SQL for in query.sql for 
445   Listing Volumes to Restore All Files
446
447   From kes22Jun02
448 - Additional documentation.
449 - Reduce the time the jcr mutex is locked in lib/jcr.c
450 - More null pointer printing fixes in lib/parse_conf.c (debug output only).
451 - Added daemon filename to Kaboom message so I know what daemon died.
452 - Fix big bad bug introduced in watchdog.c last update that caused
453   a segmentation violation (forgot to check for NULL pointer).
454 - Add a bit more info to bad returns from Stored when starting
455   a job fails.
456
457   From kes21Jun02
458 - Fixed scan_to_eol
459 - Fixed backup scanning forgot one T_STRING -> T_UNQUOTED_STRING
460 - changed all rwlock_t to brwlock_t to avoid conflicts with
461   Solaris library.
462 - Added NPRT() macro to allow printing of NULL pointers, which
463   segment fault on Solaris.
464 - Cast printing of pid_t to int for Solaris compiler.
465
466   From kes20Jun02
467 - Added expect argment to lex_get_token().
468 - Added tree.c and tree.h to lib directory.
469
470   From kes19Jun02
471 - Improvements to the bootstrap compiler
472 - Implemented first cut of bootstrap code in the Storage daemon
473 - Modified the authentication code to be more explicit during 
474   failures.
475 - Added a few more debug message numbers with more arguments (Dmsg10, ...)
476 - Added more and more precise error messages when authentication fails.
477 - Implemented new "expect" codes in the lexical scanner that allows
478   the caller to specify what he wants.                   
479 - Added integer, positive integer, 64 bit integer, and integer ranges,
480   and name scanning to lex.
481 - Implemented new lex code in parse_conf.c, this reduces significantly
482   the code.
483 - Hopefully fixed a watchdog race bug that caused the watchdog to time
484   out a line after 1 hour rather than 6 days.
485
486   From kes15Jun02
487 - Implemented a Bootstrap file parser and matcher.
488 - Implemented first cut of bootstrap code in bextract  
489 - Started clarifying different termination codes.
490 - Added M_ERROR_TERM to immediately terminate the daemon -- no dump.
491   Also changed a few termination codes as appropriate.
492 - Fixed create_jobmedia_record() to include all the fields such as
493   StartFile/EndFile, StartBlock/EndBlock.
494 - Print user friendly message when query mode ends.
495 - Fixed ls style print routines (bextract, bls, restore) to check
496   buffer size, to print the link if any, and to used edit_uint64()
497   instead of %lld.
498 - Moved scan_to_eol() and s_err() to lex.c to avoid dragging in 
499   parse_conf.c for new bsr scanning code.
500 - New files: bsr.h, parse_bsr.c and match_bsr.c. parse_bsr.c parses
501   a Bootstrap file, and match_bsr.c matches a bsr against a tape.
502 - use strcasecmp() in several places instead of lcase().
503 - Add first cut of bootstrap to bextract.
504 - Added File Size limit -- writes EOF after limit exeeded.
505
506 ===========================================================================
507 2002-06-12 Release 1.21
508 - Fixed several problems with filenames being truncated if
509   they contain spaces. Thanks to the user that reported this.
510 - N.B. To get the new queries, after the "make" and 
511   "make install" you must explicitly replace the
512   existing query.sql by query.sql.new.  query.sql is a
513   user configuration file, so it is not overwritten.
514 - Added GZIP compression of Included files.  
515 - Added additional fields to tape SOS record permitting better
516   recovery with no database.
517 - Be sure to remove any !terminate statements you may have
518   in your config files.
519 - MUST UPDATE ALL DAEMONS due to protocol change to handle new
520   tape format.
521
522   From kes11Jun02:
523 - Updated examples directory with my most recent config files.
524 - Modified the M_TERM meaning to mean that Bacula has
525   terminated in error without producing a dump. Previously,
526   it meant that Bacula terminate (with or without error).
527   You should remove any !terminate from your messages
528   resources.
529 - Changed the order of the libraries in the link so that
530   tcp wrappers link properly. Thanks Phil for reporting this.
531 - A user reported that filenames containing spaces were truncated
532   in bextract. This was indeed the case. They were also truncated
533   in Restore as well as in Verify. They are, hopefully, all fixed
534   now.
535 - Made a few error conditions in Verify non-fatal.
536 - Modified the Console "query" command to permit multiple SQL
537   statements per command. 
538 - Implemented three new "query" options: 
539     List last 10 Full Backups for a Client
540     List Volumes used by selected JobId
541     List Volumes to Restore All Files
542   To use them, simply type "query" to the Console program, and
543   select the one you want.
544 - Modified bextract to default to extracting all files (i.e. /).
545 - Cleaned up the code in bextract a bit.
546
547   From kes03Jun02:
548 - Improve Verify command to include files examined.
549 - Eliminate fcntl() locking of the console file and replaced
550   it with a pthreads mutex.
551 - Note Director - SD protocol is changed to handle new tape
552   information (Fileset, JobType, JobLevel).
553 - Create config.out that contains a summary of ./configure
554   to see what you previously configured: "cat config.out"
555 - Implemented GZIP compression.  Added addition syntax to
556   Include { } resource to permit setting of any GZIP compression
557   level:
558      compression=GZIP
559      compression=GZIP1
560      ...
561      compression=GZIP9
562
563   Level 1 is minimum compression and level 9 is maximum. Using just
564   GZIP gives the default (level 6).
565 - Enhanced the tape format to include the unique Job name, FileSetName,
566   JobType, and JobLevel in the Start/End of Session records. The code
567   detects that tape level difference and acts accordingly. You can 
568   add data in the new format to old tapes.
569 - Fixed an incorrect display message in the prune command.
570 - Began implementation of Verify Volume and Verify Data.
571 - Cleaned up File daemon restore.c a bit ensuring that termination 
572   cleanup is done and all possible Emsgs are converted to Jmsgs.
573 - Modify bls.c to use common setup routines. This reduced the big
574   code duplication that creeped in when I added different listing
575   options. Also, changing tapes is now handled uniformily in a subroutine.
576
577 ===========================================================================
578 2002-05-27 Release 1.20
579 - Started documenting Catalog Pruning and Recycling.
580   Added catmaintenance.html and recycling.html
581 - Fixed the query command bug.
582 - Implemented PID files to prevent two copies of Bacula
583   from running at the same time. Be sure you --with-pid-dir
584   points to a working directory.
585 - Modified ASSERT() to cause a segmentation violation. This
586   permits a core dump.
587 - Worked on gnome-console. It paints better, it tells you if it
588   is ready to accept a command or processing one, and it is
589   almost entirely GTK+ (rather than GNOME, I'm removing GNOME
590   a bit at a time).
591 - Limit to 100 the number of tape labeling errors in a single Job.
592 - Add some additional ASSERT()s to the database routines. I don't
593   like ASSERTs but they do catch bugs.
594 - Tested and debugged recycling of Volumes.  Needed to change
595   the Director-SD protocol slightly.
596 - Removed the experimental SIGHUP in the Director as it is a
597   potential source of errors.
598 - Added Level, Pool, Messages, and Storage keyword/value scanning
599   to the Schedule Run record.
600 - Improved printing of Schedule resources with "show schedules"
601 - Do not autoprune Jobs/Files if the Job errs.
602 - Updated newvol() to pass back the updated Media record.   
603 - Fixed the "update pool" command, which was broken during a much
604   earlier code reorganization.
605 - Improved a few of the pruning messages.
606 - Removed readline inclusions from gnome-console (hang over from console).
607 - Make Jmsg use daemon message handler if no message handler is defined.
608   This is always the case in the SD and FD.
609 - Started removing __PROTO(). With C++ prototypes are manditory, so why
610   keep around legacy code.
611 - Added a good deal of message internationalization -- more to be done.
612 - Move cached Path into mdb structure and use POOLMEM.
613 - Fix verify bug introduced last update causing incorrect diffs 
614   by turning off autopruning.
615 - Started adding code to distinguish Errors from Fatal Errors.
616 - Errors are now counted in message.c for a Job.
617 - More POOLMEM cleanups.
618 - Implemented Automatic pruning.
619 - Implemented Automatic recycling of Volumes.
620 - Added PruneJobs/Files/Volumes=yes or no to Job resource. If set,
621   it forces the specified pruning.
622 - Modified rwlock to accept multiple nested write lock
623   requests.
624 - Modified the cats directory to use the new rwlock mechanism
625   in place of P() and V(). 
626 - Defined db_lock(mdb) and db_unlock(mdb). They are in effect
627   transaction locks. 
628 - Add CVS Id's to most files.
629 - Made first cut at AutoPrune
630 - Added new autoprune file that is called at the end of
631   each Job. It then decides when and what to prune and
632   calls the UA prune routines.
633 - Modified Run (in Schedule resource) to permit overrides of
634   Level, Pool, Storage, and Messages. (not tested).
635 - Added more POOLMEM in place of char.
636 - Implemented daemon pid files. This prevents multiple 
637   daemons from running simultaneously. You can run multiple
638   daemons if they listen on different ports.
639 - Documented the Schedule resource a bit better.
640 - Began gently adding a POOLMEM type (perviously void).
641   For the moment it is a #define to char, but long term
642   it should be its own typedef.
643 - Corrected a bit of spacing on the status bar of gnome-console
644 - Added Admin and Archive Job types.
645 - Implemented multiple Messages resources. Each daemon has
646   its own message resource, which defaults if not defined.
647   Jobs may now have different message handlers.
648 - Cleaned up a bit of duplicate code in backup, verify, and
649   restore by creating appropriate subroutines in job.c
650 - Added Type, Client, FileSet, and Level resource record
651   definitions to the Director. These can be used in place
652   of the Backup = ..., Verify = ..., ... commands.  This needs
653   documenting.
654 - Corrected an incorrect message in the prune code and added
655   the number of Files pruned in the message.
656 - Corrected several paint problems with gnome-console.
657 - Added a bit of printout in signal handler during traceback.
658 - Cleaned up most of sm_check() to be turned on/off by define
659   in version.h
660
661 ===========================================================================
662 2002-05-10 Release 1.19
663 - Allow the user to select a new period for pruning.
664 - Lots of additions to the manual -- prune and purge
665   commands documented.
666 - Applied Phil's configure.in fix for --prefix, ...
667 - Fixed bug found by Phil (patch supplied) in updating
668   MD5 signatures (revert to 32 bit FileId, move "static"
669   variables into JCR) (catreq.c fd-cmds.c).
670 - Reverted to using INTEGER for FileId in make_sql_tables
671   due to a bug in MySQL.
672 - Change editing code to %d for FileId.
673 - Remove sqlite in make distclean in cats directory.
674 - Remove console.conf in console during make distclean.
675 - Remove gnome-console.conf during make distclean.
676 - Remove bacula-dir.conf during make distclean.
677 - Set default level when using Console if none specified.
678   Bug reported by Phil.
679 - A simple . command from Console is ignored.   
680 - Change program named from filed to bacual-fd in winmain.cpp
681 - Change default config file for Win32 in winmain.cpp
682 - Free namebuf on early return from find_one.c. Bug reported by Phil.
683 - Modify testfind.c to dump orphaned buffers.
684 - Removed terabytes from parse_conf.c because of problems with
685   older gcc compilers.
686 - Turn off gnome options in gnome-console by constructing empty argv.
687 - Fixes to Verify when only MD5 differs.
688 - Insert 0 for MD5 as default rather than space.
689 - Allow .messages "transparent" command while reading input
690   in UserAgent server.
691 - In dird/verify.c ensure that correct filename is printed if only
692   the MD5 differs. Minor reindenting caused large diff.
693 - Delete unused code from backup.c
694 - In filed/verify.c ensure that same algorithm as backup.c is used
695   to pass back MD5 signatures -- especially for directories and files
696   that cannot be read. Change dummy filename from X to *MD5-id*.
697   This dummy value should never be printed.
698 - Make gnome-console poll Director every 5 seconds for output.
699   This means that queued up messages are displayed at reasonable
700   intervals. Delete some unused code hanging around from the tty
701   console program.
702 - Begin implementation of prune commands.
703 - Add command line history to gnome-console. Not yet saved across sessions.
704 - Fixed some broken URLs in the manual.
705 - Added JobId type.
706 - Wrote first cut of "prune files" and "prune jobs".
707 - Added command line history to gnome-console 2500 lines max.
708 - Widened store_time() and associated variables to 64 bits using
709   new btime_t definition.
710 - Removed GNOME about box and replaced it with 
711   a somewhat crude Gtk+ about box in the gnome-console.
712 - Widened StartDay in the Job DB record to be 64 bits.
713 - Changed edit_uint_ to edit_uint64_ everywhere. Much more
714   descriptive of what is done.
715 - Removed most llds and replaced them with %s and edit_uint64.
716   This makes the code a bit easier to read for beginners.
717 - Added a btime_t typedef which is 64 bits wide.
718 - Added most of the code needed to do Purge and Prune of
719   database. Not yet tested. Please do not use.
720 - Additional config options for Console.
721 - Started adding code for Automatic Recycling of Volumes.
722 - Allow arbitrary length filenames in Verify code.
723 - Fix incorrect filename in Verify code.
724 - Significant enhancement to number scanning in config parser.
725 - Requires initializing MySQL tables, or applying cats/alter.sql
726   to modify Media table.
727 - Modified Makefile to printer a much more visible
728   message if the make ends in error.
729 - Added the Purge value to the VolStatus in the Media table.
730   This value is set if the Volume is purged.
731 - Enhanced the db_delete_media_record() routine to delete
732   all associated records in the database.
733 - Modified Console to always write to the variable "output"       
734   rather than stdout. This will permit directing output to a file.
735 - Enhanced the Console configuration file to have a Console 
736   resource. This will allow us to add an rcfile and history file.
737 - Modified Find_next_vol in catreq.c to search for "Recycle"
738   volumes if there are none marked Append. Also made Get_Vol_info
739   return the VolStatus to the Storage daemon.
740 - Allow upper/lower case match on job level names.
741 - Added another warning message to the Console "delete media" command.
742 - Corrected a number of FileId types from uint64_t to FileId_t in
743   ua_retention.c.
744 - In ua server close database before freeing JCR (because pointer is
745   kept in ua and jcr structures).
746 - parse all numbers as doubles. Do lots of checking for valid number
747   formats. Allow numbers in scientific form (e.g. 1.5e+10).
748 - Remove terabyte modifier as it doesn't work in some compilers.
749 - Fix bug in handling some modifiers.
750 - Added all necessary code for Recycle to Storage daemon. A Volume
751   marked Recycle will now be overwritten.
752 - Filled out the prune command a bit and did some testing.
753 - Make console accept redirected input.
754 - Altered the Table definitions to include Recycle,
755   FileRetention, JobRetention, and AutoPrune.
756 - Widened StartDay to 64 bits.
757 - Use JobId_t in more places. 
758 - Added the new table fields to the database record definitions.
759 - Changed Recycle from string to a binary quantity.
760 - Added a Version table with a VersionId to detect.
761   future changes in the database. This should prevent
762   a Bacula from working with a database that is not in sync.
763 - Modify Console to accept input from a file. This will permit
764   the .read command and allow reading a .rc file.
765 - Added new retention and recycle variables to the Director's configuration.
766 - The UA subroutines or commands can now be called from core
767   code because the output routines detect the absence of a 
768   UA socket and direct output to the Job.
769 - Added a verbose flage to the ua packet to permit reduction of
770   output while running a UA command (prune) from a Job.
771 - Did a fair amount of work on the prune command. Prune Volume now works.
772 - Purge Volume now works.
773 - Made last changes for integrating prune and purge commands.
774 - Add -ltermcap to CONS_LIBS when readline is configured.
775   More work to be done to search for termcap.
776 - Added cats/drop_sqlite_tables.in, which will delete the SQLite database.
777 - Got CWEB working so that we can compile filesys.w and immortal.w
778 - Modified depkgs to include cweb.             
779 - Note, CWEB is not yet used by the core Bacula code.
780 - Made cats/alter.sql, which alters an old database to bring it
781   up to the new format. This only works with MySQL since SQLite does
782   not have the ALTER SQL command.
783 - Changed the old StartDay field in the db to be JobTDate, which is
784   the latest time/date in widened Unix time format that the Job ran.
785   This value is used when doing pruning.
786 - Added code in cats/sql.c to verify that the database internal version
787   corresponds to the db version compiled in Bacula. It is set to 1 currently.
788 - Lots of changes to cats to bring the SQL up to date with the new 
789   retention period changes.
790 - Added Console command code to permit changing a Volume's retention period.
791 - Removed old code that used date_encode() and replaced it with widened
792   Unix time().
793 - Started modifying Message resource scanner so that we can have multiple
794   message resources. Much more work to be done.
795 - Moved scanning for time into new library routine string_to_btime().
796
797 ===========================================================================
798 2002-04-22 Release 1.18
799 - Applied Phil's configure.in fix for --prefix, ...
800 - Fixed bug found by Phil (patch supplied) in updating
801   MD5 signatures (revert to 32 bit FileId, move "static"
802   variables into JCR) (catreq.c fd-cmds.c).
803 - Reverted to using INTEGER for FileId in make_sql_tables
804   due to a bug in MySQL.
805 - Change editing code to %d for FileId.
806 - Remove sqlite in make distclean in cats directory.
807 - Remove console.conf in console during make distclean
808 - Remove gnome-console.conf during make distclean
809 - Remove bacula-dir.conf during make distclean
810 - Set default level when using Console if none specified.
811   Bug reported by Phil.
812 - A simple . command from Console is ignored.   
813 - Change program named from filed to bacual-fd in winmain.cpp
814 - Change default config file for Win32 in winmain.cpp
815 - Free namebuf on early return from find_one.c. Bug reported by
816   Phil.
817 - Modify testfind.c to dump orphaned buffers.
818 - Removed terabytes from parse_conf.c because of problems with
819   older gcc compilers.
820 - Turn off gnome options in gnome-console by constructing empty
821   argv.
822
823 ===========================================================================
824 2002-04-18 Release 1.17 Kern Sibbald
825 - Ensure that platforms Makefiles are called for clean  
826   and distclean.
827 - Hide a lot of Makefile messages with @
828 - Applied Phil's configure.in patch. Thanks.
829 - Doc updates, many to clarify points brought up by Phil.
830 - Applied Phil's make_mysql_tables.in patch. Thanks.
831 - Made authenticate.c in dird test bnet_send status.
832 - Make label a bit more friendly with extra info message.
833 - Add level 200 to debug info in run command.
834 - Remove old code from findlib/testfind.c so that it compiles.
835 - Add two minute max wait to cram-md5 authentication. Hopefully,
836   this will catch non-responding WinNT daemons.
837 - Allow time and size modifiers to be upper or lower case.
838 - Turn off old CYGWIN patch for pthread_cond_timedwait() bug that
839   now causes File daemon hangs on WinNT.
840 - Fix mount messages for restore. Previous updates to save
841   broke the restore code.
842 - By default write fixed block sizes rather than variable block
843   sizes.  My Sony DAT simply does not work (reread failures) with
844   variable block sizes.
845 - Data split across tapes was not being correctly restored
846   (at least on DAT tapes). 
847 - Implement MaximumBlockSize and MinumBlockSize statements in
848   Storage daemon so user can specify variable block sizes if
849   desired.
850 - Return error if block checksum error on read (previously 
851   ignored).
852 - Fixed some error messages in bls, and in some cases exit(1)
853   rather than ABORT. There remain ABORTs to be examined.
854 - Made a local copy of tcpd.h and corrected the function 
855   prototype problem for C++.
856
857 ===========================================================================
858 2002-04-14 First public release 1.16 Kern Sibbald
859  - Many intervening changes/updates.
860
861 2001-09-29 Release 1.0 Kern Sibbald
862  - Fixes to problems found at John's
863    installation.
864  - See techlogs/kes25Sep01 for details
865
866 2001-09-25 Release 1.0 Kern Sibbald
867  - Helped John install at his site.
868    He is backing up one Linux machine and
869    one Win2000 machine.
870
871 2001-mm-dd Many releases
872  - Released internally.
873   
874 2000-04-09 Release 0.4 Kern Sibbald
875  - Added a lot of Director configuration code. In      
876    part (a small part), the Director now uses the
877    bacula.conf file to know what to do. There still
878    remains a lot to do.
879  - The file search code is now integrated into the
880    MySQL database routines, and Bacula is now hooked
881    into the MySQL database (if so configured). Thus
882    all the database records are being created, though
883    there still remains some work in getting all the
884    details into the records (such as the Storage 
885    coordinates).
886  - I've defined how Volume pools work (see manual).
887  - I've defined error message handling though no code
888    is yet written.
889  - The following resources and records are implemented
890    in the Director configuration file (bacula.conf):
891     
892    Director
893      Name (passed to Storage daemon)
894    Client
895      Name, Address, Port
896      Password (not yet used)
897    Storage    
898      Name, Address, Port, Password, MediaType
899    Job
900      Name    
901      Type (not yet used)
902      Backup (only one permitted) 
903        Client, FileSet
904      Storage
905      Schedule, Messages, Pool (not used)
906    FileSet
907      Name  
908      Include (options ignored)
909      Exclude (no options)
910    Schedule (not used)
911      Name
912    Messages (not used)
913      Name       
914      Debug, syslog, mail, append (not used)
915    Catalog
916      Name
917      Address, Port, Password (not used)
918    Pool (not used)
919      Name
920      PoolType, MediaType (not used)
921
922  - Added Storage configuration routines.
923    Director
924      Name, password (verified against those sent by Director)
925    Storage
926      Name, Address, Port (address, port must correspond to Director's values)
927      Password, MediaType
928    Device
929      Name, MediaType (must correspond to those sent by Director)
930      Archive Device (defines device name)
931
932
933 2000-03-10 Release 0.3 Kern Sibbald
934  - Implemented new base64 encoding for attributes.
935    This eliminates some of the error messages in the
936    sprintfs on the Solaris due to different stat() sizes.
937  - Implemented  the first cut of the file search routines for
938    the File daemon.  The exclusion lists work including wild
939    cards.   There is a lot of work to be done, but the basic
940    structure is now in place (wild cards do not yet work for
941    the include).
942  - Completed writing the memory pool code.  Now I must
943    implement it in the daemons.
944  - Modified the bacula start/stop script so that it has a
945    better chance of working on SGI and Solaris.
946  - The catalog code has not been converted to the new file
947    search code.
948
949 2000-03-06 Release 0.2 Kern Sibbald
950  - Integrated John's fixes.
951  - Made Makefiles self configuring when Makefile.in is changed.
952  - Added a runit script in the top level that runs bacula
953  - Added a "bacula" script in the top level directory that
954    starts and stops the File daemon and the Storage daemon.
955
956 2000-03-03 Release 0.1 Kern Sibbald
957  - Basic Director, File, and Storage daemons.
958    Standalone Catalog services using MySQL
959
960 2000-01-22 Kern Sibbald
961    * Setup basic file structure with ./configure