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