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