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