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