2 2003-xx-yy Version 1.30 released
3 - The new AutoMount code broke File archives -- fixed.
4 - Correct watchdog mutex race introduced yesterday.
5 - Add JobLevel to Admin run started by UA.
6 - Add -v to daemon startup scripts
7 - Implement bmicrosleep(sec, msec);
8 - Implement When for "run" command.
9 - Remove unsigned from socklen_t definition in hopes it will work better
11 - Remove code that attempts to set PID dir and SUBSYS dir if they
12 do not exist because it set them to sbindir!
13 - Modify mount to initially attempt to read the volume if Bacula
14 wants a tape, none is mounted, and "Automatic Mount = yes" is set.
15 - Prohibit setting --sbindir and --with-subsys-dir the same.
16 - Fix missing argument that cause Kaboom in update slots.
17 - Fix orphaned bsock when UA gets error contacting FD or SD
18 - Nearly full implementation of Win Backup API, but it does not
19 work due to lack of permission! Arggg!
20 - Implemented restoring directory permissions as they should be.
21 - Implemented reasonable regression script. It found a number of
23 - Implemented the following @ commands in the console that work directly
24 in the console rather than in the Director.
25 input - read input from a file
26 output - write output to file
27 tee - tee output to file and terminal
28 time - print current time
29 version - print current version
32 - Implemented new bfile io routines that will permit implementation of
33 Windows native APIs for reading/writing files.
34 - By default always update hard links with the prefix, but do
35 not update soft links. It seems inconsistent, but it is what
37 - Implement wait command in Console that waits until no jobs are running.
38 - Fixed the < code in Include/Excludes, which forgot to skip over the <.
39 - Do NOT attempt to chmod() a soft link as it will change the file behind
41 - OOPS! Lutz ran into a problem. In attempting to prevent string overflows,
42 I used bstrncpy() on a variable that was malloc'ed thus truncating
43 Volume names! Arrrggggg!
44 - Lots of documentation of new features.
45 - Rework Volume name scanning in console, made much more logical
46 and corrected a bug (confusion in calling sequence).
47 - Cleaned up a few error messages in cats adding more info.
48 - Add the IP address to error messages due to bad connects to servers.
49 - Implement default File output in config files so user can start
50 saving right away without a tape drive.
51 - Protect inet_ntoa() with mutex in case it is not thread safe.
52 - Eliminate termcap from use in gnome console.
53 - Remove unused SD maximum volume files and maximum volume jobs. They
54 are implemented in the Director.
55 - Make the default for Incremental and Differential saves to compare
56 against both st_mtime and st_ctime rather than just st_mtime.
57 This includes files moved or copied.
58 Thanks to Matthias Wamser for bringing this fix to our attention.
59 - On Win32 clients, make a pass through the include/exclude patterns
60 and change any back slashes to foward slashes. Prevents creating
61 unusable directory names containing both conventions.
62 - Move ls -l output on restored files to M_RESTORED class.
63 - Make gnome-console compile correctly on RH8.0
64 - label barcodes now works.
65 - Implemented "update slots".
66 - Tweak btape "test" to always print suggestion for re-read last block.
67 - Implemented "Cleaning Prefix"
68 - Update alter_mysql_tables.in
69 - More work on barcodes.
70 - Zap VolHdr in SD when attempting to label a tape that is not
71 there. Prevents false tape names the next label command.
72 - First cut of bar code reading is implemented. It doesn't do
73 anything but return the list to the Director.
74 - Implemented relabel command that relabels "Purged" Volumes.
75 - Check exit code in RunBeforeJob and err the job if it is non-zero.
76 - Remove old testsuite -- too complicated
77 - Print length when Authorization fails because of bad length.
78 - Fix problem of NumVols in Pool getting reset on startup.
79 - Implement full listing of DB records by listing them vertically
80 instead of horizontally.
81 - Make changes to mysql scripts as suggested by Lutz Kittler
82 - Fixed code to write Uname to Client record.
83 - Fixed a problem (in btape) where Pmsg() was not printing.
84 - Moved re-read last block test to last in "test" command of btape.
85 - Lots of new documentation.
86 - Fixed newvol.c to handle retrying 10 times if the volume name already exists.
87 - Removed int_least16_t from sha1.h because it does not exist on some systems.
88 - Release job in SD if canceled and waiting on a mount (better cancellation).
89 - Prompt for Client in restore if not specified.
90 - Print "Selection is empty!" if no selection list found.
91 - Add new spec files and bacula.desktop from Scott.
92 - Update client every time a job is run.
93 - Add verbose option to daemons for printing more user error info.
94 - Test if console works with readline 4.3 (yes, it is OK).
96 - Release new winbacula.
97 - Add Uname info to Client DB record.
98 - Improve error messages and make them more consistent when a non-existent
100 - Separated the -mwindows option so that only Windows programs
101 are built with it (bacula-fd, ...) the tty tools such as console
102 dbcheck, smtp, testfind, ... are now able to be run in a standard
104 - Add | and < options to Exclude the same as in Include.
105 - Add typed in input to the text window in the gnome-console.
106 - Change function that gets the entry text (previously had orphaned buffer).
107 - Fix multiple Director problem in gnome-console (thanks to Lutz Kittler).
108 - Thanks to Renato, I was able to test Bacula on a FreeBSD tape drive.
109 There are a number of significant differences: 1. reading less than
110 the number of bytes in a record returns an I/O error. 2. ioctl(MTEOM)
111 looses the file position. 3. Reading two two EOF marks (or ioctl(MTEOM))
112 leave you positioned after the second EOF, so you must backspace file
113 to be able to append.
114 - Added BSF at EOM = yes/no to Device resource to allow proper positioning
115 at the end of a FreeBSD tape.
116 - Made btape "test" do much better testing of error conditions (i.e.
117 it now ensures that the append went well). It will automatically
118 detect problems and apply fixes and then retry the test, if it
119 finally succeeds, it clearly says what directives need changing.
120 - Add Scott Barninger's rpm changes to the build environment
121 - Add changes to mtx-changer so users can add eject and sleep for
122 certain autochangers.
123 - Implemented FreeBSD chflags (user defined flags).
124 - Turn restore errors during setting of owner and modes into
125 warning messages -- for restoring files as non-root.
126 - Fix how prefixes are handled in restoring soft links.
127 - Modified btape "test" command to do only those things that
128 Bacula actually does. There is much more explanation, ...
130 - Finally had to back up to gcc version 2 from version 3 to avoid version
132 - Final cygwin tweaks.
133 - Move start time to *after* the resource locks are acquired.
134 - Unable to duplicate Phil's disabling of Bacula with nmap, but
135 did make the authentication code a bit more conservative for
136 dealing with bad input.
137 - Added code to the query command to escape all strings input
138 before substitution and sending to the SQL engine.
139 - Escape user entered filenames for restore command.
140 - Cleaned up the waiting code a bit -- using broadcast instead
141 of signal and counting the waiters.
142 - Implement new pthreads semaphore code.
143 - #define new semaphore code rather than workq on USE_SEMAPHORE.
144 - Lots of improvements to the document to address recent support requests.
145 - Implement cycle through a set of tapes suggested by Eugeny
146 Fisher with the "RecycleOldestVolume=yes" record in the
147 Pool resource. Basically this record causes Bacula to purge
148 to oldest tape when no more tapes are found.
149 - Correct a number of small incorrect interactions between limit
150 variables during recycling.
151 - Corrected a bug in db_create_media_record() where VolMaxFiles and
152 VolMaxJobs was not written to the database.
153 - When the Director starts, the Pool record is updated in the
154 database with the current contents of the Pool resource.
155 - Corrected bnet_connect() to immediately stop (rather than looping
156 for the timeout period) if there is a fatal error (socket, or
158 - Reworked "purge" code to make purging Volumes easier.
159 - Made "list volumes" list the volumes in all pools -- also
160 "list volumes pool=Default" does not produce and error message.
161 - List Pool record after doing "update pool".
162 - Remove pid file code from Win32 -- not really necessary.
163 - Make bnet handle null jcr during cancel rather than crash.
164 - Add CygwinInstall.bat and CygwinUnInstall.bat
165 - Add db_lock() around newvol.c code to prevent race condition if multiple
166 callers want a new Volume name.
167 - Lots of cleanup to Win32 code, with additional error messages.
168 - Make Bacula work on Win95 (test for GetAttributesEx).
169 - Add better error messages when end of media is reached or volume
171 - Turned off signal catching in readline(), necessary to keep console
172 from crashing on ctl-Z with RedHat 8.0. Thanks to David Craigon for
174 - Make the 3rd and hopefully final change to the Finclude structures.
175 This new version permits multiple sets of options (more code to be
176 written) to be applied against the same set of files. Thus one can
177 have options that with match of *.gz and a different set of options
179 - Integrated GNOME Console font resource code supplied by Phil Stracchino.
180 - Check for job_cancelled() in bnet_connect() code to stop wait loop if
181 client not available.
182 - Fix early end of file scanning conf file in lex.c, which previously
183 caused ABORT -- now reports error. This could happen with an unterminated
185 - Move Maximum File Size code before write and detect error on writing EOF.
186 - Additional fix for Solaris 2.6 and a bdb.c fix submitted by Armin Buehler.
187 - Added detection for Solaris 2.6, which uses older setsockopt() calls.
188 - Defined sockopt_val_t for setsockopt() calls.
189 - Added fixes sent by Bevan Anderson that fix multiple connects to FD
190 (I zap keys for security, so must put back dummy key). Also a fix
191 to the Internal database that wrote garbage after the filename in
193 - Back out the __SVR4 changes.
194 - Add automatic configuration of socklen_t
195 - Attempt to fix problems reported by Lutz with multiple simultaneous
196 open file Volumes (experimental code). Serialized acquire. This may
197 fix the problem, but more thought and testing is necessary.
198 - Add table of "supported" autochanger models.
199 - Add Solaris 2.6 (__SRV4) changes sent by Peter Schmitz.
200 - Correct tape selection code in SD (|| => &&). Thanks to Chuck Hemker
202 - Eliminate FileOptions. Implement new Finclude and Fexclude that
203 have file options contained in it. New structure must be transmitted
205 - Split Include/Exclude into new inc_conf.c file.
206 - Cleanup new Include/Exclude and FileOptions. Structures in Director
207 now correct. Must transmit FileOptions to FD.
208 - WARNING: With the adddress and port code in the Catalog you MUST
209 remove old address= and dport= records!!!!!
210 - Added code to remove cancelled jobs from the workq -- needs testing.
211 - Added first cut AIX from output James MacLean sent me.
212 - Second cut of FileOptions.
213 - First cut of parsing FileOptions and Counters.
214 - Added address:port for MySQL as well as socket for local access.
215 - Fixed job.c in filed to properly handle excluded files. Apparently
216 I changed the daemon protocol but forgot to update the code.
217 - Enhance testfind to handle include and exclude files
218 - Fix getdomainname() prototype for Darwin
219 - Added new -u and -g options for specifying userid and groupid to
220 use when running, so that Bacula can reduce its privileges.
221 - When Bacula was hanging due to an NFS volume being down, I
222 fixed a few places in the File daemon where is should have immediately
223 terminated the connection instead of waiting for the Director to do so.
224 - Added first cut support for Darwin.
225 - Temporarily comment out the O_NOFOLLOW to avoid possible subtle problems.
226 - Implemented O_NOFOLLOW in creating files in create_file.c to prevent
227 creating a file at the end of a symbolic link.
228 - Use chown() if lchown() does not exist (e.g. Darwin).
229 - Always close stdin on startup to avoid having /dev/console attached.
230 - Change all DATE occurrences to BDATE because it is used by Cygwin headers.
231 - Add printing of Volume names in SD status output.
232 - Display all open devices in device chain in SD status output.
233 - All changing Pool in console run command.
234 - Thanks to Eric Bollengier for pointing out that the run_program()
235 return status was not correctly generated. Now fixed (I hope).
236 - Corrected crash in Internal Database getting Volumes.
237 - Flush all daemon messages at the end of every job.
238 - Fix Install.bat script so that Bacula restarts after reboot on WinNT/2K systems.
239 - Minor changes in the gnome-console directory.
240 - Integrated in my old Tcl/Tk code into src/tconsole and moved it up
241 from C to C++. Pretty crude, but it is a beginning.
242 - Close syslog() %n exploit in message.c
243 - Edit space before each line in gconsole.
244 - Added INCEXE structure so we can have FileOptions.
245 - Added support for multiple simultaneous open file volumes.
246 - Fix hard linked files so that the one saved is always restored.
247 - Add * to restore "dir" listing to indicate marked files.
248 - Add ability to make md5sum and sha1sum in lib directory.
249 - Work a bit more on the new daemon protocol.
250 - Use unmask of 022 or more restive
251 - Create File volumes with 0640 permissions
252 - Added support for SHA1 signature. Need to modify DB to have type.
254 - Work a bit on getting proper child status from bpipe calls.
255 - Added Ludwig's mtx-changer to the examples/devices directory.
256 - Added a Warning not to use the Internal Database when it is initialized.
257 - Compiled and tested SHA1, and added it to the library.
258 - Added code to print the "load slot" status after autoloading.
260 =============================================================================
261 2003-01-24 Version 1.29 released
263 - Tightened up permissions on all .conf files to be 640 so they are not
266 - Added prefixlinks=yes/no Job record to specify applying the Where
267 prefix to absolute soft links. Code is not yet passed to FD, because
268 FD would then be incompatible with version 1.28.
269 - Added skeleton of installation for Gentoo release for Patrick Naubert.
270 - Add timer on open() for reading or writing a FIFO file.
271 - Put btraceback and btraceback.gdb in sysbin dir (a bit of polution,
272 but at least dumps will work).
274 - Added "append" all messages to a log to default bacula-dir.conf
275 - Added WriteBootstrap to default bacula-dir.conf
276 - Made smartall.c print "Out of memory" if malloc() fails.
277 - Added pthread btimer routines.
278 - Added timer to FIFO open statement
279 - George was still having problems with VolUseDuration failing.
280 On looking into it, one line of code subtracting 1900 was
281 mysteriously missing from the source -- bizarre.
283 - Yesterday's version corrects all the problems I was
284 previously having, and my production jobs are now completing
286 - Added a #define dev_cap() to test the capabilities bits. I just
287 makes the code a bit shorter and a bit simpler.
288 - Added phase 1 support for an output fifo device. The big
289 difference here is that it is a STREAM device, which means that
290 Bacula will only write to it and not read. Thus, Bacula assumes
291 that the correct "Volume" is mounted and will construct a valid
292 label (without needing the Volume to be prelabeled), and write
294 - Added phase 1 support for input from fifo device (suppress re-read,
295 add empty buffer flag).
297 - Improve printout of dbcheck with # files/path fixing.
298 - Zap SD authorization code after use.
299 - Added <> back to smtp (think about this some)
302 - Massive change to add jcr as the first argument to nearly
303 every db_ call. This is because I was storing the jcr in the
304 db structure, which will not work because everyone shares
305 exactly the same structure.
306 - More cleanups of error termination status in filed.
307 - Found another bug in message.c where %s was missing in JmsgN. A lot
308 of cleanup in message.c
309 - Found places where filename listing was made (restore, verify
310 vol) where the buffer could possibly overrun.
311 - Chain include files on the end of the list so that the
312 order will be correct.
313 - Rewrote mtx-changer to output one slot per line terminated by
314 a colon followed by an optional Volume Tag for the "list" command.
315 Preparation for handling Volume Tags.
316 - My production crash remains elusive. Adding debug code or running
317 under the debugger eliminates the problem. I found a case in
318 message.c where I was extending the message string by two
319 characters to send it to the console. VERY BAD. Rewritten.
320 - Started implementing fifo and program handlers (i.e. streams)
321 in the Storage daemon. Lots to do.
322 - Added a trace capability where trace statements are written
323 to a file. Tmsg(). Hopefully this won't be used much.
324 - Running lots of "production" saved by scheduling a few minutes
325 after the current time -- slow process ...
327 - Removed <> on From and To in smtp.c as suggested by James MacLean.
328 - Added code to suppress spurious error messages during cancel,
329 but I was unable to eliminate all errors -- to be worked
331 - Up size of print buffer from 2000 to 5000.
332 - My production run failed again. I'm beginnig to suspect
333 hardware problems because running by hand or under the
334 debugger always works -- we will see.
335 - Added Update Volume VolFiles to reset correct tape files
337 - Use the mysql_escape_string() rather than internal version.
339 - Cleanup handling of JobStatus by creating a subroutine.
340 - Fix a number of minor things with JobStatus.
341 - Print FD and SD JobStatus on backup report.
342 - Add JCR to findlib -- so now FD stops normally when cancelled.
343 - My production Director segment faulted during the second Job.
344 I haven't been able to track it down. After rebuilding, all
345 jobs finished correctly.
346 - In investigating the duplicated Paths, I found that there
347 were 10,552 of them -- only Path records. After checking the
348 code, I do not see the reason, but I've enhanced the code to
349 print the full path name.
350 - I made a few improvements to tools/dbcheck. Mostly it provides
351 a bit more feedback with verbose mode on when eliminating
352 duplicate filenames or paths.
354 - During four simultaneous backups, the File daemon started
355 detecting buffer corruptions. It turns out to be due to the
356 fact that the smartall.c routines were not thread safe. They
358 - Based on input from James MacLean and team, I eliminated a number
359 of places where printf could be recursively called by using "%s".
360 - It turns out that because of an error of my understanding of
361 mysql_escape_string(), the last argument was taken as the length
362 of the string to be escaped rather than the maximum length. I've
363 now corrected all my code -- Thanks James.
365 - George Motter reported problems with UseDurations, and it seems
366 that there were a number of inconsistencies and problems with
367 FirstWritten and LastWritten. Hopefully for the most part they
368 are now corrected. Also fixed LabelDate if done through Console.
369 - Try to chase down reasons why there would be buffer overruns.
370 Added P & V around referencing last_fname for status.
371 Rewrote find_one.c with MEMPOOL, but not yet tested enough
374 - Give extra margin to converting filenames from Unix to Windows
375 in attribs.c of findlib -- dumb cygwin API doesn't provide for
377 - Added file:line traceback to size_of_pool_memory, check... and
378 realloc in an attept to get closer to the memory overrun reported
381 - Made yet another fix to quoted string -- paths! Thanks to
382 Scott Medlock for reporting this.
384 - Implemented FIFO reading/writing. To do so, simply explicitly mention
385 the fifo file (named pipe) in the Include AND add the new option
388 - Started implementing | and < on Include names.
389 - Changed source to . in cats directory as requested by Andrew Kokarev.
391 =============================================================================
392 2003-01-05 Version 1.28b released
393 - Corrected a typo of working_directory in bacula-dir.conf
394 reported by James MacLean.
395 - Fixed the fact that path and filenames in some cases were not
396 being quoted before going into the database. Many thanks to
397 James MacLean for reporting this.
399 =============================================================================
400 2003-01-05 Version 1.28a released
401 - Corrected a missing quote in bacula-dir.conf reported by James MacLean
403 =============================================================================
404 2003-01-05 Version 1.28 released
406 - Implemented Bare Metal Recovery for Linux and manual procedures for Solaris
407 - Now using only a single technotes file kes-1.28 and will add to
408 it as the development goes on.
409 - Wrote a general purpose bi-directional pipe command. This replaces
410 previous use of pipes as well as the run_program previously used.
411 - Make BSRs stop if no more matches are possible.
412 - Allow unliminted number of devices in Storage daemon.
413 - Allow connections to Storage daemon before all devices are initialized.
414 - Better documentation (and btape test command) on using fixed block
417 Changes submitted this submission:
419 - Add cygreadline5.dll to Win32 release -- needed for console
421 - Add scripts make_catalog_backup and delete_catalog_backup that makes and
422 deletes an ASCII copy of the catalog for backup. An example of how
423 to use it is in the <bacula-src/src/dird/bacula-dir.conf file.
424 - Made a nicer column oriented listing of scheduled jobs for "status dir".
426 - Added backup/restore of raw partitions.
427 - Corrected restoration of files in root directory (problem with
428 splitting path from file).
430 - Finally decided to cleanup handling of splitting path and filenames
431 in the cats directory. Now the code is in one place sql.c and it
432 is done using Pool memory, so there are no length restrictions.
434 - Add start of Solaris bare metal recovery
435 - Add Site Visit usage statistics to Web page
436 - Got Bacula listed on www.backupcentral.com
438 - Retest bare metal recovery on Linux 2 times with verify
439 - Cleanup printout of verify differences using proper casting to
440 handle shorts and long longs.
442 - Added --enable-client-only to ./configure
443 - Modified --enable-static-sd to work better and documented it.
444 - Fixed Restore options (never,ifnewer, ...). They now work.
445 - Moved the stored.c Resource lock into the allocation thread so
446 that the same thread sets/clears it. This created a problem on
449 - Added more rescue documentation.
450 - Did a spell check of the Bacula doc.
451 - Modified bscan to use the working directory as specified in the
452 configuration file as the default.
454 - Fixed an important bug reported by George Motter that caused only
455 the last option on an Include record to be used (all previous options
458 - Chase down some inconsistencies in creating Media records from
459 the Pool defaults, and in updating/creating the Pool from the
460 resource. Also fixed the cats DB routines to include all
461 fileds (VolUseDuration was missing for example).
463 - Added building static versions of daemon static-bacula-dir, ...
464 - Fine tuned the rescue (bare metal) code including support for grub.
465 - Added skeleton freebsd rescue
466 - Corrected SQL syntax error in autoprune code (JobType => Type).
467 - Added error messages for SQL errors in autopruning.
469 - Documented Bare Metal Recovery
470 - Create new "rescue" directory containg the Bare Metal Recovery code.
471 - Fiddle with SQL a bit for pruning as apparently the last InitCatalog
472 was pruned after the expiration date eventhough it was the ONLY copy!
473 I'm not sure this is fixed yet.
475 - Allow Director to pass a NUL where string to FD (fix in FD).
476 - Fix installation mv of query.sql.
477 - Make sure btraceback.gdb is not wiped on "make distclean"
478 - Corrected a bug in mod of replace options pointed out by Dave Anderson.
480 - Started adding FileOptions ...
481 - Fixed and incorrect print out of the number of files restored (Jarif).
482 - Finally fixed EndBlock (and file address for Files) in catalog!
483 - Added hostname to tape header as always planned.
484 - Removed Level code (will not implement unless strong demand exists).
485 - Tweaked bscan to print number of errors ignored before first SOS.
486 - Enhanced btape "fill" to permit using one tape and to dump last
487 block before writing and upon read back.
488 - Make fsf_dev() return 0 on fail and 1 on success.
489 - Use new db_get_job_volume_parameters() to enhance Write Bootstrap to
490 contain more info (start/end file/block, file indexes).
491 - Added --enable-static-fd, sd, and dir to configuration to enable making
492 static versions of the daemons.
494 - The btape test program was indicating errors on Adrian's machine
495 using the ATAPI (ide-scsi) tape drive. It turns out that this
496 is a fixed block driver as a consequence, Bacula must be setup
497 to write fixed blocks. btape was not always using the fixed
498 blocks defined in the Bacula config, so that has been updated.
499 It now works fine. A lot of tips added to the Bacula test command
500 to help guide the user.
501 - Documentation of the above significantly improved in the manual.
503 - Added code in watchdog to permit setting and clearing child timers. If
504 the timer expires, the child process is killed.
505 - Modified restore to handle differential jobs.
506 - Added a new test to the btape "test" command
508 - More documentation of new features (week position in scheduler, bsr).
509 - Re-read last block written on full tape to verify it.
510 - Fix segmentation fault with btape fill command due to missing FileSet MD5.
512 - Created better SQL input editing routines str_to_int64 and str_to_uint64()
513 - Pull Client from database in Console restore command.
514 - Create a Unique list of Volumes to be mounted (previously had repeats).
515 - Made many of the SQL searches better by using the ClientId rather than the name
516 in the restore Console command.
517 - Modified reading of a tape to include the VolFile info. Once the
518 tape is past the specified file, reading stops. The BSR now includes
519 both the VolFile and VolBlock. Currently VolBlock is not used.
520 - Handle multiple volumes better by creating a real volume list with all
522 - Display "At prompt waiting for input" in gnome console when at subcommand
524 - Broke ascii to internal and internal to string editing routines out into
527 - Added a readme and an afs-bacula script to the examples directory
528 that permits Bacula to backup an AFS filesystem. Thanks to
529 Lucas Mingarro for the submission.
530 - Added A Sun-desktop autoloader script and Device definition to the
531 examples/devices subdirectory. Thanks to Lucas Mingarro for the
533 - If the WriteBootStrap fails, the job will now be marked in error.
534 - Added a week position to the scheduler syntax that allows you to
535 specify 1st, 2nd, 3rd, 4th, or 4th, or first, ... fifth as a week
536 position specification in front of a day. So if you say
540 the scheduler will start only on the first sunday of the month. The
541 day specification can also be a day range e.g. sun-fri.
542 This code is untested.
543 - Implemented bpipe.h and bpipe.c in src/lib, which defines a bi-directional
544 pipe. This allows executing other programs and sending them information
545 as well as getting info from them.
546 - Replaced the previous pipe usage with bpipes in RunBeforeJob and
548 - The mail program now uses bpipes rather than pipes, which means that any
549 error output will appear in the job output (truly bi-directional).
550 - Modified BSR to handle counts and to stop when no more matches are possible.
552 - Improved error messages in smtp.
554 =============================================================================
555 2002-12-12 Version 1.27d
556 - This is a minor update that fixes a segmentation fault in btape
557 as well as reduces non-important error messages in bscan.
559 2002-11-29 Version 1.27c
560 - Yet another silly error duplicating a column name in the SQLite
561 make tables. No code change, just a make file.
563 2002-11-29 Version 1.27b
564 - Set DB version to 5 in DB make files.
566 2002-11-28 Version 1.27a
567 - Use g++ instead of gcc for testfind in tools
569 2002-11-27 Version 1.27 (26Nov02) released 28 November 2002
571 General: from kes25Nov02
572 - Mostly Cygwin changes
574 Changes submitted this submission:
575 - Updated bdb_find.c to have new calling sequence for db_find_job_start_time
576 - dird/catreq.c edit in Volume name in error messages to SD
577 - attribs.c switch to using the cygwin API to convert from POSIX paths
578 to Win32 paths. This now permits Win32 path specifications in Include
579 statements (all combinations not yet tested). It also avoids the large
580 number of errors seen by Lutz if a Win32 path is specified in the Dir.
581 - Update testfind help and remove set_attribsEx debug code.
582 - Build testfind as default.
583 - Turn off debug message in stored/askdir.c
585 General: from kes21Nov02
586 - Another change in the database. You MUST either re-initialize
587 your database or use the appropriate ./alter_xxx_tables in
588 the src/cats directory.
590 Changes submitted this submission:
591 - Additional documentation.
592 - Added MaxVolFiles to the database (not yet implemented in code).
593 - Increased the database version from 3 to 4.
594 - Change VolMaxBytes to MaxVolBytes, which is much more descriptive.
595 - Compressed unnecessary spaces out of a lot of SQL statements.
596 - Changed many %d to %u where unsigned integers are used.
597 - Added the Bacula version and build date to each backup output.
598 This will help knowing what version of Bacula was used.
599 - Implemented VolUseDuration MaxVolBytes, MaxVolFiles, and MaxVolJobs
600 based on maximums set in the Volume (Media) record rather than in the
601 resource. This means the values can be individually set on a Volume basis.
602 - Allow commas separating Include options (this was a subtle bug).
603 - Added maximum string length argments to a number of subroutines to
604 prevent buffer overflows. Most notably was do_prompt().
605 - Replaced MANY occurrences of strcpy() with bstrncpy(), which guarantees
606 both that the length is not exceeded and that the string is properly terminated.
607 This has a risk of a certain destabilization -- as does the changes to
609 - In cram-md5 routine use my_name if gethostname() returns an error.
610 - Increase timeout from 2 minutes to 3 minutes in authorization code.
611 - Check the full string including \n in authorization.
612 - Throw away any response longer than MAXSTRING.
613 - Added a number of additional error checks on subroutine return statuses.
614 - Replaced as many lld's with edit_uint64 as I could find.
616 - Added MaxVolBytes to Pool record - had forgotten it. Updated DB version.
618 - Update manual to document new Pool/Volume attributes
619 - Correct make_sqlite_tables (typo, plus missing value in Pool)
620 - Fix bizarre behavior in gnome-console and console when auth fails.
621 - Add Pool attribute query
622 - Add a few more error messages in askdir.c
623 - More strcpy() conversions to bstrncpy().
625 General: from kes18Nov02
626 - Did a number of cleanups of string copying to limit the length
627 and prevent buffer overflows.
629 Changes submitted this submission:
630 - Added a mutex arount the gethostbyname() so that multiple simultaneous
631 jobs get the correct address.
632 - Added the MaxVolJobs to the Media alter tables script for MySQL (forgot it).
633 - Changed arg to db_find_job_start_time to be POOLMEM for returning the string.
634 - Add the new VolUseDuration and MaxVolJobs to all the db_ routines.
635 - Use bstrncpy() in most places in the db_ routines to prevent a bad
636 database from crashing Bacula (self protection).
638 General: from kes13Nov02
639 - You MUST either re-initialize your databases or use the
642 ./alter_sqlite_tables
643 in the <bacula-src>/src/cats directory to modify your database tables.
644 - Major improvements to dbcheck including an interactive mode.
646 Changes submitted this submission:
647 - Implemented VolumeUseDuration and MaximumVolumeJobs which control
648 when a tape can be marked Used.
649 - New tape status "Used" means it was used and cannot be used any more.
650 - Defined utime_t which is 64 bit epoch time in seconds. btime_t is
651 64 bit epoch time in microseconds.
652 - Created alter_xxx_tables to add new columns (VolUseDuration, MaxVolJobs) to
653 database. Incremented db version.
654 - Changed a few subroutine names concerning dates to be more descriptive.
655 - Fixed several places where the last filename was not stored in JCR in
656 FD verify_vol.c and restore.c
657 - Major update to dbcheck. Unfortunately I used subselects, which work
658 perfectly fine in SQLite, but not at all in MySQL. I must now rework
659 it for MySQL. What a pain!
660 - Removed "Database found" from configure output. It was no longer used or valid.
661 - Corrected doc --working-dir => --with-working-dir Thanks to Tuck for
663 - Added the database name to the error message for mismatched DB version.
664 - Commented out GMP and CWEB from configure as they are not currently used.
666 General: from kes09Nov02
667 - Converted the manual over to a new format written in wml. This
668 gives navigation buttons on the top and bottom of each page
669 as well as a standard page size.
670 - Updated the main Web site, providing a menu bar to the left
671 and much better organization and presentation of the information.
672 - Added code to recognize a Volume written with a larger block
673 size than specified. The code automatically adjusts.
675 Changes submitted this submission:
676 - Created a new scripts directory and moved most of the scripts
677 previously in the main directory there. This cleans things up
679 - Moved the randpass stuff into autoconf.
680 - ensure that the generic make_bacula_tables and drop_bacula_tables
682 - Added code to filed to allow it to be run from inetd. Just add the
683 -i option. I have not tested it.
685 General: from kes30Oct02
686 - Alex found a problem with GZIP compression -- fixed.
687 - bacula stript fixes.
688 - Segment fault in Director fixed.
689 - Added openbsd to platforms
691 Changes submitted this submission:
692 - GZIP compression was broken for large files due to a variable that
693 is changed during the compression. This was relatively easy to fix.
694 However, there were a number of fixes required to make GZIP and SPARSE
695 files work together. Found one more place in bextract where SPARSE_GZIP
697 - During testing of the above, I ran into the restore problem of multiple
698 FileSet records. Fixed by including the FileSetId and the MD5 on the
699 selection string, then always using the FileSetId. It is a bit
700 confusing for the user, but ...
701 - Francis found a problem with bacula.in (fixed - thanks)
702 - I found another problem with bacula.in, so now it REALLY should work
704 - Added the Replace options code for restores. Not tested.
705 - Fixed an ugly stack overrun bug in reading the config file
706 that has been in for a long time. I found this in testing on FreeBSD
707 where the Director seg faulted.
709 General: from kes29Oct02
710 - Major change to the bnet communications routines.
712 Changes submitted this submission:
713 - Modified the bacula script to use pid files, so this script should
714 now work on more platforms. Updated devel_bacula as well.
715 - Added the full GNU hostname on the configuration print output.
716 - Added gettimeofday() to configure, and tweaked a few variables for
718 - Added a chapter to the manual on Porting Bacula to other platforms.
719 - Documented in Tips how to use the WriteBootstrap record.
720 - Modified bc_types.h to error if 64 bit types are not found.
721 - Pass replace option for restore to the FD (no code to use it yet).
722 - Modify the FD to pass back the GNU OS string as well as the DISTNAME
723 and DISTVER. This needs to be put in the Client record in the catalog.
724 - Major reworking of the bnet routines to eliminate the zero length which
725 previously indicated a signal. This risks to create some subtle communications
726 bugs. The changes now permit blank lines to be sent from the user to the
728 - Found and corrected a few more places where the Win32 attributes were not
730 - Permit spaces in the Where string (restore) by bashing/unbashing them.
731 - Handle quotes correctly in the Console program (actually Dir ua code).
732 Previously they were not handled in the middle of a string.
733 - Corrected two error message (error reading file), which previously stated
734 it was a network error.
735 - Reworked the files in the binary Windows release. Removed unused programs
736 and added a README with the copyright as suggested by John. Also added
737 console.exe to the release.
738 - Found and corrected an autoloader mount problem where the wrong tape
739 was specified. Previously it looped, then gave up. Now it correctly
740 detects the volume is not correct and zaps the Slot in the catalog.
742 General: from kes23Oct02
743 - I have mainly worked on getting all the details of a Restore
744 to work correctly (new tape format, support for Win32
746 - Trademarked name Bacula.
747 - Implement Bacula tape format 11 (1.0 Immortal). This format
748 will be maintained forever.
749 - Accept Any Volume is yes by default. This modifies Bacula's behavior
752 Changes submitted this submission:
753 - Corrected a bug on FreeBSD where CFLAGS would get a "yes". I was
754 unable to reproduce this, but a user confirmed the correction.
755 It was a problem with detection of largefile support, which FreeBSD
757 - Added a new "license" chapter in the manual. Re-licensed a number of
758 library routines (bnet.c, hmac.c md5.c, cram-md5, ...) with LGPL so that they
759 can be used in proprietary software to access Bacula if so desired.
760 - Move Director's AutoChanger doc to correct location (in Storage
762 - Document why trademark (to protect compatibility).
763 - Implement and turned on Bacula tape format 11 (also BB02). This
764 format moves the VolSessionId and VolSessionTime from each record
765 header into the Block header. This is MUCH more efficient when reading
766 records as now whole blocks can be skipped.
767 Also added JobStatus in End Of Session record, and added MD5 for
768 FileSet, which is necessary to insure uniqueness.
769 - Implement a new Bacula time format for btime_t. It is Epoch time
770 in microseconds (i.e. base 1 Jan 1970 in microseconds).
771 This replaces previous floating point times.
772 - Added Win32 extended attributes. In doing so, I moved all attribute
773 handling from src/lib into src/findlib. Added new streams for
774 Win32 attributes and for GZIP Win32 attributes.
775 - Modified "Accept Any Volume" so that it really permits any volume
776 in the pool to be mounted.
777 - Removed "Mount Anonymous Volumes" from Storage daemon config.
778 - Implemented sparse files. You must add "sparse=yes" on the include line
779 for it to be enabled.
780 - Print "None" in backup summary rather than 0.0% if there is no compression
782 - Improved error checking in daemon connection/authentication code to prevent
783 garbage data from harming a Bacula daemon.
784 - All daemon tools MUST have a config file.
785 - Completely strip drive specification on Win32 if a Where prefix is specified.
786 - Corrected DB info for writing to files. Now the File Address is stored
787 in File-Block variables in the catalog.
788 - All Storage daemon tools now use common code for acquiring/reading
790 - If a device is unmounted, report it even if the device is not open. This
791 will help inform users who have BLOCKED Bacula by unmounting a drive.
794 =============================================================================
795 2002-10-12 Version 1.26 (10Oct02)
796 General: from kes10Oct02
797 - Changed Job name conventions to avoid : which is an illegal
798 character on Windows.
800 Changes submitted this submission:
801 - Added check for inet_pton to configure.in. If it does not
802 exist (e.g. Windows) use inet_aton
803 - Documentation on GZIP.
804 - Another restore doc example.
805 - Documented btape fill command.
806 - Set default restore directory from /tmp to /tmp/bacula-restores
807 - Add additional no find error messages to sql_get.c
808 - Creating a bootstrap file on Windows failed because the Job name
809 contained colons which are illegal on Windows. Replaced the
810 colons with periods. This corrects the Windows restore problem.
811 - Print number of files to be restored in "restore" command.
812 - On Windows systems, if there is a prefix, completely eliminate
813 any drive: at the beginning of a path.
814 - Minor corrections to the tree routines to handle Windows
815 files such as c:/ better. Previously it insisted on /c:/, which
816 would then not be found in the catalog for a "dir" command.
817 - Modified cd command in restore to try /c: if c: fails.
818 - Add a new S_ISWIN32 bit to the st_mode word so that low level
819 routines that create files do not print error messages.
820 - More work must be done to restore all Windows files correctly.
821 Currently the following bits are not handled:
825 Also, all the dates are not properly restored.
827 General: from kes09Oct02
828 - More documentation.
829 - Implemented new fill command in btape that permits filling
830 a tape and then reading it back to ensure that it works
833 Changes submitted this submission:
834 - Added ReadBytes to JCR, which contains Job bytes read by
835 FD, JobBytes contains compressed output of FD.
836 - Modified FD to pass back JobStatus, ReadBytes, JobBytes, ...
837 for backup jobs. This is upward compatible.
838 - Modified backup termination status report to contain the
839 compression ratio 100 * (1 - compressed-bytes/uncompressed-bytes)
840 This will always be zero if no software compression was
841 done, or if you are using a version 1.25 or older FD.
842 - Pickup Job termination status of FD in backup, so now
843 the termination status represents the state of all three
845 - Implemented new fill command in btape that permits filling
846 a tape and then reading it back to ensure that it works
849 General: From kes06Oct02
850 - Implemented first major cut of bscan -- program to scan a tape
851 and recreate a Bacula catalog.
852 - Fixed lseek() relative negative seek that prevented writing multiple
853 jobs to a File volume.
854 - Implemented BB02 tape format -- currently turned off for writing.
856 Changes submitted this submission:
858 - Implemented new BB02 tape format, which moves the VolSessionId and
859 VolSessionTime from the record headers into the Block header. It
860 is currently turned off.
861 - Implemented new btime time/date format on the tape. This is currently
863 - Added JobStatus to EOS tape label. This is currently turned off.
864 - Changed start_block, ... to StartBlock in JCR for uniformity.
865 - Print a message telling which tables were dropped/made with
866 ./drop_bacula_tables.
867 - Return JobType and JobLevel in db_get_job_record().
868 - Implemented get_current_btime(), which returns btime_t.
869 - Bump debug message max size to 2000 bytes.
870 - Add btime_t serial/unserial routines.
871 - Rework all tape label routines to integrate btime and other
872 label format changes (currently turned off -- for writing).
873 - Fix lseek() to always be positive -- block.c
874 - Consolidate record, block, and label major #defines in block.h.
875 - Major implementation of bscan. Some more minor tweaking will be
876 necessary. E.g. add multiple records for multiple simultaneous
878 - Cleanup lseek() to always use off_t as second argument.
879 - Add new "created" tape label (EOT_LABEL). This generates a callback
880 to the read_records() routine when the final end of all tapes is
881 reached allowing proper termination and updating of the media records.
883 General: From kes25Sep02
884 - Added means to bind servers to specific address.
887 Changes submitted this submission:
888 - Added DirAddress, FDAddress, and SDAddress records to the corresponding
889 resources that allow the server to bind to a specific address
890 rather than any address. This security improvement was suggested by
892 - Eliminated deprecated "Address" record from all sample Storage resources.
893 - Made quite a lot of improvements to the bscan program. Much more
894 to do. Aside from details, it is able to recreate a database
895 from which you can do a restore.
896 - The s option is not accepted on all versions of ar, so replaced it
897 by an explicit ranlib call.
898 - Fixed a bug that caused the Director to crash if you rudely bring
899 down the console program in the middle of an SQL command.
900 - Fixed a bug (missing break) that caused scheduled Admin jobs to
901 be listed as "Unknown type".
902 - Removed old code from Storage daemon that used a separate FD port.
904 General: From kes14Sep02
905 - Better key generation on non OpenSSL systems.
906 - 64 bit file address support if available.
907 - Implement autochanger for reading
908 - Lots of cleanup of tape reading code.
909 - Automatically create all Pool resources when Bacula starts.
911 - Implement autochanger use via the Console commands "add" and "label"
912 - Begin implementation of a regression script
913 - Write bootstrap after ever job
915 Changes submitted this submission:
916 - After noticing that the non OpenSSL random key generator was
917 not good on Solaris, John wrote a very nice randpass generator.
918 - Integrated John's makeSessionKey for generating the FD->SD
920 - Statically link tools (doesn't work on Solaris).
921 - Document how to debug Bacula (new chapter in the manual)
922 - Remove unneeded printing of error message in sql_get.c
923 - Free SD description config record (previous oversight)
924 - Bash spaces when sending Director names, and unbash them when
926 - Ensure no divide by zero in rate computation in backup.c
927 - Implement WriteBootstrap in backup.c
928 - Allow tape reading to request volume information for any
930 - Create all Pool resources at startup.
931 - Show only Backup jobs in Restore listing of last 20 Jobs.
932 - Handle 64 bit stat packets in restore.
933 - Don't do shell expansion on store_dir in config if string
934 starts with |. This is used for piping the program for the
936 - Ignore SIGHUP -- Déjà Gnu was triggering this.
937 - Implement autochanger for reading, many changes to
938 acquire_device_for_read()
939 - Implement callback for reading Volume. Implement in bextract,
944 - Move autochanger code to new subroutine in mount.c
946 =============================================================================
947 2002-09-05 Version 1.25a (05Sep02) Released
948 - Fix unitialized stack variable in bextract so it
949 will always read the currently mounted tape.
951 =============================================================================
952 2002-09-04 Version 1.25 (01Sep02) Released
954 - Added .cvsignore files in each directory to cut down on the
955 CVS output when scanning directories and finding Makefiles
956 and such which are not part of the CVS tree.
958 Changes submitted this submission:
959 - Cleaned up a lot of the error messages in Verify, including
961 - Had to remove some of the "automatic" error message printing
962 in the DB because they are in fact things that come up
963 for Verify but not really errors.
966 2002-08-30 Version 1.25 (30Aug02) Beta
968 - Fixed a bug where only the first file was restored if
969 it is hard linked. The other links were lost.
970 - In some cases of restoring to alternate directories, softlinks
971 were not properly restored.
975 - Bacula backups now run up to 12 times faster than version 1.24
976 - Bacula can run multiple simultaneous Jobs.
977 - Had to turn off TRANSACTIONS in SQLite because it doesn't work
978 with multiple simultaneous jobs (I'm working on this).
979 - Added a better Job printout for Restore Jobs.
980 - Added a save/restore Rate to backup and restore jobs. This
981 does not yet subtract out operator wait time so it will be
982 underestimated it the Job waits on the tape (mount/label).
983 - Fixed a major bug caused by free()ing a buffer twice in
984 the Restore code. This made the SD more or less useless after
985 any restore Job. Arrggg!
986 - DIR - SD protocol changed, both must be updated at the same time.
987 - DIR - FD protocol changed in upward compatible way. Upgrade of
988 FD not required, but recommended.
990 Changes submitted this submission:
991 - Added bell to "make" when errors are detected.
992 - Changed default compile option from -g to -g -O2
993 - Additional documentation as usual -- much based on questions or
994 feedback from users. Thanks.
995 - Fixed example config files to use new syntax and to have a
997 - Define ETIME to ETIMEOUT for Irix
998 - Added JCR filed to DB structure permitting direct printing error
999 messages from within the Database subroutines.
1000 Some error messages may be printed twice as a consequence.
1001 When I see them or someone reports them, I will remove the double.
1002 - Added JCR to the bsock structure. This allows direct printing
1003 of network errors from within the network code.
1004 - Made most "trivial" debug messages have level 100 or greater. This
1005 allows for easier debugging of new code using the range below 100.
1006 - Began replacing all Emsg() with Jmsg() using a NULL as the JCR in
1007 Jmsg() is the same as Emsg().
1008 - Fixed several crashes in the Director because of malformed config files.
1009 - Added SpoolAttributes to Job resource.
1010 - Pass CatalogFiles to SD. If set to no, the attributes are dropped
1011 within the SD rather than being sent to the DIR.
1012 - Cleaned up a number of information/error messages in user interface.
1013 This includes eliminating the "pretty please" response in favor of
1014 "yes/no" to delete volumes and pools.
1015 - Cleaned up quite a number of uninitialized variables reported when going
1016 to -O2, most were harmless, but a couple could cause problems.
1017 - The cd command in restore was not working correctly (it didn't allow some
1019 - Fixed a segmentation violation in the directory tree handling code in
1020 the restore command.
1021 - Handle a few error conditions in the restore command better.
1022 - Permit "Where" to be set to nul in modification of a run command.
1023 - Clarified the error message for Verify if an InitCatalog has not previously
1024 been done -- thanks Chuck.
1025 - Add MaximumConcurrentJobs to FD.
1026 - Added code to mem_pool to die if a buffer is released twice.
1027 - Lots of work done on SD for multiple simultaneous jobs. Split device.c
1028 into device.c, mount.c and acquire.c
1029 - Started writing new lock code for SD, but may back it out -- needs more
1030 thought. Current code works, but is too complicated. Maybe can simplify it.
1031 - Cleaned up the SD tools code quite a bit. Added bootstrap to all tools.
1032 - Ensure that tape session labels are not split across two blocks. This makes
1033 reading them back much easier.
1034 - Fixed another restore bug concerning tape labels on multi-volume saves.
1036 =============================================================================
1037 2002-08-14 Version 1.24
1039 - Made a new tools directory.
1040 - Moved smtp into the tools directory.
1041 - Created a dbcheck program in the tools directory that
1042 checks for certain database errors and if requested fixes them.
1043 - Put the database link flags on DB_LIBS so that it now only is
1044 on binaries that actually need it.
1045 - Document dbcheck and testfind programs.
1046 - Move testfind to tools directory.
1047 - Check for FileSet after getting Client name in Restore command.
1048 Modify all necessary SQL commands to accept FileSetId.
1049 - Add a db_get_fileset_record in cats directory.
1050 - Correct list last 20 files concatenation to be MySQL
1051 dependent. They aren't SQL standard. Use SQL standard || for
1053 - Modify dir command in file selection to produce a long form
1054 listing of the file/directory name.
1055 - Add platforms/irix/*.in files to CVS
1056 - Make Console command scanner accept quoted value fields.
1057 - If after selecting Client to restore, there are multiple
1058 FileSets, ask user to select one.
1059 - After obtaining JobIds for restore, ensure that there is only
1060 one MediaType, and select a Storage resource to be used.
1063 - Made restore actually work.
1064 - Made console and gconsole be configured (requested by Chuck)
1066 - changed fs in Job record to fileset for clarity
1067 - The console run command was not properly picking up the command
1068 line arguments. Fixed!
1069 - Changed add/remove/rm to mark/unmark
1070 - Volume keyword VolumeName was wrong, changed to Volume (in restore bsr).
1071 - Pass jcr to parse_bsr, and if non-NULL, it will output error messages
1072 to Job stream rather than Emsg.
1073 - Modified lexical scanner to include caller context so that jcr can
1074 be stored in lex context allowing error messages to be properly
1076 - Renamed the Job message chain to be jcr_msgs. This eliminated the
1077 previous confusion with the default value, now named jcr->messages.
1078 - Implemented multi-volume bsr records.
1079 - Implemented pm_strcat() and pm_strcpy() to cat/add to memory pool
1080 buffers in same way as strcat/strcpy, but expanding buffer.
1081 - Modified db_get_volume_names to handle arbitrarily long Volume list.
1084 - If the Console program terminated during the printing of messages,
1085 the message file was left locked. This was corrected by using the
1086 new read-write lock code.
1087 - Implemented Pw() and Vw() for obtaining and releasing a write lock
1088 using the rwl_xxx routines.
1089 - Deleted some old pthread_mutex code from mysql.c
1090 - In making the Irix port, I previously corrected the base64 routine so
1091 they were not sensitive to the machine definition of char. This made
1092 them incompatible with previous versions invalidating MD5 signatures
1093 which are in base64 format. I have now corrected this, making the
1094 routines compatible with the previous version but also insensitive
1095 to the default definition of char.
1096 - Removed some unnecessary NPRT() usage in signal.c (pointed out by
1098 - Add back BNET_NONO for compatibility with older File daemons.
1099 - Implement runing a restore Job in the restore command.
1100 - Make installation of query.sql unconditional. To prevent you own file
1101 from being overwritten, give it a different name.
1102 - Made parse_command_args() in ua take command from ua->cmd, this
1103 simplifies it and allows usage in other places -- e.g. building
1104 arguments for created run command in restore.
1105 - Cleaned the naming of s_full_ctx to be s_jobids.
1106 - Write the bsr created in restore to "working-directory"/restore.bsr
1107 - Fix bugs in command line scanner in run command -- also some misplaced
1109 - Eliminate static cmd in ua_server.c
1110 - Eliminate segmentation fault when using the Run command in the
1111 Console -- forgot to init_msgs().
1114 - Did a good amount of documentation.
1115 - Added sql_cmds.c to CVS, forgot, pointed out by Chuck.
1116 - Added new platforms/irix directory to CVS
1117 - Turn off transaction debug code in sql.c
1118 - Reworked the scheduler so that it handles the same Job starting
1119 twice in the same hour. Previously it took one or the other.
1120 - Tightened up the "slop" in the timings that I programmed to ensure
1121 that the same job isn't run twice or that no job was missed.
1122 - Increase the sleep time.
1123 - Used job_type_to_str() in status so that Admin jobs are correctly reported.
1124 - Add internationalization message chars to a number of routines
1126 - Make the watchdog timer clear the mutex when it exits.
1127 - Some tweaks to the Restore command. It needs fixing when a Job spans
1128 two or more volumes.
1131 - Initial cut at adding Irix File daemon support.
1132 - Lots of work on the restore command.
1133 - Take a stab at eliminating the "broken pipe message"
1134 when the console program prematurely terminates.
1135 - Reimplemented transactions for SQLite by keeping
1136 them all in the same thread.
1137 - quit in the Console program now waits for Bacula to
1138 quit. To immediately quit, you must enter .quit
1139 - Eliminated BNET_EOF -- this COULD have some negative consequences
1140 on interdaemon communications.
1141 - Define Job termination status for Admin jobs.
1142 - Write new bstrncpy() function that guarantees that strcpy is
1143 properly terminated.
1144 - Fixed command input in ua_input.c to accept quoted items as a
1148 - The changes that added indexes to the SQLite database were
1149 lost -- thanks to Chuck for pointing this out. Redone.
1150 - Fixed a problem quoting strings in SQLite. This showed up
1151 as database errors with files containing ' or " in the filename.
1152 - Implemente restore command -- still in progress.
1153 - Added indexes to all fields in SQLite that exist in MySQL.
1154 - Moved unused immortal files from src/lib to src/immortal.
1155 This will permit splitting depkgs.
1156 - Started work on adding embedded MySQL. Cannot get the tables
1157 to work for the moment. Please don't try to use this option.
1158 - Convert to using single quotes for enclosing all strings.
1159 - Implement correct quoting algorithm for SQLite strings.
1160 Is dequoting needed?
1161 - Started centralizing SQL statments in the Director in sql_cmds.c
1162 - Changed a number of M_ABORTs to M_ERROR_TERM so that program terminates
1163 but does not produce a dump.
1164 - Allow wild-card matches in bsr for Client name, and Job.
1165 - Change OflineOnUnmount=no as default.
1166 - Fixed improper printing of filenames containing a space in bls.c
1167 Thanks to Carlos for reporting this.
1169 ===========================================================================
1170 2002-07-26 Release 1.23a
1171 - Fix segmentation fault is FD status.
1172 - Turn off TRANSACTIONs for SQLite.
1174 ===========================================================================
1175 2002-07-23 Release 1.23
1177 - Updated Bacula to handle some minor differences in MySQL 4.0.2
1178 (still works with older MySQLs).
1179 - Updated MySQL documentation to correct some minor errors.
1180 - Added kernstodo to CVS
1181 - Fixed create_mysql_database, which I recently accidently broke.
1182 - Disallow zero length volume names in Console program.
1183 - Create alter_mysql_tables and alter_sqlite_tables for conversion
1184 from 1.22 table format to 1.23 table format.
1187 - Investigation of SQLite performace problems reported by Chuck.
1190 - made root@localhost the default email address because many smtp
1191 servers reject root but accept root@localhost
1192 - Added an autochangers chapter to the manual.
1193 - Documented most of the new features in 1.23
1194 - Modified the SQLite interface code to start a transaction at the
1195 beginning of a job and commit it at the end of the job. It
1196 also commits it after 10000 changes. Hopefully this will
1197 improve performance.
1198 - Set the default cache pages from 2000 to 10000 for SQLite (i.e.
1199 about 15Megs of memory) hoping to improve performance.
1200 - Terminate last filename referenced in FD prior to copy to
1201 avoid race problem with multiple threads and no locking.
1202 - Enhanced the status output to include the JobType
1203 - Print an error message if the email program terminates in error.
1204 - If your machine has an MTUNLOCK, do it before doing an OFFLINE to
1205 ensure that the door is unlocked.
1206 - Added code to stored/append.c to spool attributes. This is in
1207 a testing stage and must be explicitly enabled.
1208 - Added a no_attributes variable to stored/append.c that prevents
1209 the attributes from being sent to the Director. As yet, no way
1211 - Modified SQLite code so that after 10000 updates any transaction
1212 is committed, then restarted. This keeps it from using too much
1214 - Set the default cache size to 10000 pages (previously 2000).
1215 - Fixed a segmentation fault on Sun due to no default value for
1217 - Added the same indexes to SQLite that I exist in MySQL. This
1218 VASTLY reduces CPU usage for lots of inserts.
1219 - Added spooling to bnet_send().
1222 - The following two changes were prompted by questions/suggestions
1224 - If you have "AlwaysOpen = no" in your SD Device
1225 resource, Bacula will free() the drive when it
1226 is finished with the Job.
1227 - If you have "Offline On Unmount = yes", in your
1228 SD Device resource, Bacula will offline (or eject)
1229 the tape prior to freeing it.
1230 - Added Maximum Open Wait to allow open() to wait if drive is busy.
1231 - Added RunBeforeJob and RunAfterJob records to Job records.
1232 This permits running an external program with the following editing
1236 %d = Director's name
1245 - Added autochanger support to devices.c
1246 - Allow user to change Slot in the Volume record.
1247 - Implemented code in lib to run an external program
1249 - Implemented a changer script for mtx.
1250 - Currently the changer commands used are:
1251 loaded -- returns number of slot loaded or 0
1252 load -- loads a specified slot
1253 unload -- unloads the device (returns casette to slot)
1254 - Other changer commands defined but not yet used:
1255 list -- returns list of slots containing a cassette
1256 slots -- returns total number of slots
1257 - Implemented ChangerCommand, specified in the SD Device
1258 resource, permits editing of:
1260 %a = archive device name
1261 %c = changer device name
1268 - Implemented MaximumChangerWait default 120 seconds. It is
1269 specified in the SD Device resource.
1272 - Moved techlogs from main directory to be subdirectory of doc
1273 - Added code for strerror_r, and detection of gethostbyname_r().
1274 - The protocol between the Director and the SD has changed.
1275 - Major rework of SD tape mounting to prepare for Changer commands.
1276 - Separated Update Media record and Create JobMedia record. These
1277 are done from the SD by calling the Director. Need separate Create
1278 JobMedia so that when a Job spans a volume, all other Jobs writing
1279 the same volume will also have JobMedia records created.
1280 - Added message to user indicating selection aborted if he enters .
1281 to a Console selection request.
1282 - Create a jobstatus_to_ascii() routine for use in status commands.
1283 This makes a single routine from three separate pieces of code.
1284 Updated the code to properly handle more (all) termination statuses.
1285 - Tried to fix the gnome-console to handle history a bit better. There
1286 are still some problems with focus not being properly set to the edit
1287 box after history replacement.
1288 - Removed the shutdown() from bnet_close() hoping to fix Console termination
1289 errors that are occassionally seen -- no luck.
1290 - Moved add_str() to lib/util and renamed it add_str_to_pool_mem() so that
1291 it can be used to edit Job termination codes and Changer command codes.
1292 - Reworked how the SD mounts tapes (in device.c) so that control passes through
1293 only a single routine. The logic is much simpler than previously, and now
1294 adding AutoChanger code is straight forward.
1295 - Made SD tape mounting much more fault tolerant -- more cases retry instead
1296 of terminating the Job.
1297 - Wrote code to edit_device_codes() for Changer commands. Not yet fully
1299 - Added a ChangerDevice directive to the Device resource. Still need to add
1303 - This documents what I did while on vacation.
1304 - A fair amount of documentation.
1305 - Implemented Verify Volume to Catalog (needs renaming)
1306 - Modified the database to include new MarkId field as
1307 well as Counters. Database level is incremented from 1 to 2.
1308 - Added first cut of managing autochangers by implementing Slot in DB.
1309 - Fixed a good number of M_ERROR messages to be M_FATAL where appropriate.
1310 Also converted a number of Emsg() to Jmsg() permitting better Job error
1312 - First cut at implementing a general packet passing mechanism for bsock
1313 to replace printf and sscanf for passing data.
1314 - Made make_xxx_tables and drop_xxx_tables and create_xxx_database
1315 for bdb as well as sqlite. With this each database has the
1316 same set of scripts (with the exception that MySQL has grant_privileges).
1317 - Modified Makefile to only install the database scripts for the
1318 database that you are using.
1319 - Updated the pdf script to include all the html files.
1320 - Did quite a lot of documentation.
1321 - Made Bacula compile correctly with DEBUG turned off.
1322 - Implemented Pmsg() macros that permit using the debug print
1323 routines even with DEBUG off.
1324 - Updated job_cancelled() macro to handle JS_FatalError.
1325 - Changed db_find_last_full_verify() to db_find_last_jobid(). This
1326 permits working with Verify Volume to Catalog.
1327 - Removed TRANSACTION code from incrementing NextId for SQLite.
1328 - Implemented quick and dirty (not fully functional code) so that
1329 console program does not die if ctl-Z is entered.
1330 - Cleaned up backup.c a bit adding a bail_out goto to ensure proper
1331 handling of errors with minimum code.
1332 - Added passing Slot back and forth to Storage daemon with Volume info.
1333 - Implemented Slot in Media record in DB.
1334 - Implemented first cut of Counter resource in dird_conf.c. A counter
1335 resource is part of the Pool resource.
1336 - Implemented necessary database record. However, the resource doesn't
1337 yet create a DB record.
1338 - Implemented onefs (One File System) and recurse options on Include
1340 - Implemented autopruning of Verify and Restore Jobs.
1341 - Did a better job of calculating thread_concurrency() for Sun systems.
1342 This permits better multi-threading allowing all the threads to run
1344 - Implemented a wait_for_storage_daemon_termination(), which is used by
1345 backup and verify volume.
1346 - Clarified a number of UA prompts, and add feedback where certain commands
1347 completed but printed nothing. (More work to be done here).
1348 - Added a pile of new code to implement Verify Volume to Catalog. It is sort
1349 of a hybrid of "restore" and "verify" in that it actually reads the tape,
1350 then compares it to the catalog. Need Verify Volume to Client.
1351 - Added a good number of checks for job_cancelled() this should permit
1352 quicker and more reliable cancelling of jobs.
1353 - Fixed one bug in restore where I used ofile instead of lname, which means
1354 that if the lname was too long, the memory was not properly reallocated.
1355 - Cleaned up find_one.c in findlib quite a bit.
1356 - Link smtp static so that it works even if the libraries are messed up.
1357 - If mail host is not found, retry with local host in smtp.
1358 - Added slot and stream to the bootstrap record processing.
1359 - Do offline on tape cartrige for unmount command. This can be turned off
1360 by the user in the config file. OffLineOnUnmount in Device resource.
1361 - Implemented AutoChanger = yes/no in Device resource.
1363 ===========================================================================
1364 2002-07-07 Release 1.22
1365 - All the basic Restore code to handle the boostrap file is
1366 now implemented with the exception of the Console Restore command.
1367 - Retained compatibility with previous Restore providing no
1368 bootstrap file is specified. However, the old code (JobId based)
1369 will go away in a future release.
1370 - Fixed a number of segmentation faults in the Console program due
1371 to printing of NULL pointers -- thanks to Chuck and his Sun for
1372 finding and reporting them -- mostly in ua_output.c.
1375 - Null pointers now are printed as *None* if NPRT() is used.
1376 - At the request of Phil, all resources are now chained in in the
1377 order they appear in the config file.
1378 - Implement Bootstrap record in the Director's config file, which
1379 allows you to specify a predefined bootstrap file for Restore Jobs.
1380 - Allow Bootstrap on the Restore record. This is deprecated.
1381 - Implemented code to pass the Bootstrap file, if defined, to the
1382 File daemon, then from the File daemon to the Storage daemon.
1383 - Added ability to set Bootstrap file in the Console when running a Restore.
1384 - Allow scan_error() routine to be passed to lex_open_file(). This permits
1385 using lex in the Storage daemon without worrying that it will ABORT on
1386 a syntax error. More work is needed to direct the error messages correctly.
1387 - Improved error messages a bit when config syntax errors are found.
1388 - Tested and corrected some errors in match_bsr.c
1389 - Removed askdir.c from bls and bextract by defining dummy entry points.
1390 - bextract now has bootstrap pretty well integrated.
1391 - Changed bextract ABORTs into FATAL and exit(1) or ERROR_TERMINATE.
1393 - Eliminated at least one lld and replaced it by edit_uint64()
1394 - Eliminated a few more _PROTO()s.
1395 - Corrected a problem with the SQL for in query.sql for
1396 Listing Volumes to Restore All Files
1399 - Additional documentation.
1400 - Reduce the time the jcr mutex is locked in lib/jcr.c
1401 - More null pointer printing fixes in lib/parse_conf.c (debug output only).
1402 - Added daemon filename to Kaboom message so I know what daemon died.
1403 - Fix big bad bug introduced in watchdog.c last update that caused
1404 a segmentation violation (forgot to check for NULL pointer).
1405 - Add a bit more info to bad returns from Stored when starting
1410 - Fixed backup scanning forgot one T_STRING -> T_UNQUOTED_STRING
1411 - changed all rwlock_t to brwlock_t to avoid conflicts with
1413 - Added NPRT() macro to allow printing of NULL pointers, which
1414 segment fault on Solaris.
1415 - Cast printing of pid_t to int for Solaris compiler.
1418 - Added expect argment to lex_get_token().
1419 - Added tree.c and tree.h to lib directory.
1422 - Improvements to the bootstrap compiler
1423 - Implemented first cut of bootstrap code in the Storage daemon
1424 - Modified the authentication code to be more explicit during
1426 - Added a few more debug message numbers with more arguments (Dmsg10, ...)
1427 - Added more and more precise error messages when authentication fails.
1428 - Implemented new "expect" codes in the lexical scanner that allows
1429 the caller to specify what he wants.
1430 - Added integer, positive integer, 64 bit integer, and integer ranges,
1431 and name scanning to lex.
1432 - Implemented new lex code in parse_conf.c, this reduces significantly
1434 - Hopefully fixed a watchdog race bug that caused the watchdog to time
1435 out a line after 1 hour rather than 6 days.
1438 - Implemented a Bootstrap file parser and matcher.
1439 - Implemented first cut of bootstrap code in bextract
1440 - Started clarifying different termination codes.
1441 - Added M_ERROR_TERM to immediately terminate the daemon -- no dump.
1442 Also changed a few termination codes as appropriate.
1443 - Fixed create_jobmedia_record() to include all the fields such as
1444 StartFile/EndFile, StartBlock/EndBlock.
1445 - Print user friendly message when query mode ends.
1446 - Fixed ls style print routines (bextract, bls, restore) to check
1447 buffer size, to print the link if any, and to used edit_uint64()
1449 - Moved scan_to_eol() and s_err() to lex.c to avoid dragging in
1450 parse_conf.c for new bsr scanning code.
1451 - New files: bsr.h, parse_bsr.c and match_bsr.c. parse_bsr.c parses
1452 a Bootstrap file, and match_bsr.c matches a bsr against a tape.
1453 - use strcasecmp() in several places instead of lcase().
1454 - Add first cut of bootstrap to bextract.
1455 - Added File Size limit -- writes EOF after limit exeeded.
1457 ===========================================================================
1458 2002-06-12 Release 1.21
1459 - Fixed several problems with filenames being truncated if
1460 they contain spaces. Thanks to the user that reported this.
1461 - N.B. To get the new queries, after the "make" and
1462 "make install" you must explicitly replace the
1463 existing query.sql by query.sql.new. query.sql is a
1464 user configuration file, so it is not overwritten.
1465 - Added GZIP compression of Included files.
1466 - Added additional fields to tape SOS record permitting better
1467 recovery with no database.
1468 - Be sure to remove any !terminate statements you may have
1469 in your config files.
1470 - MUST UPDATE ALL DAEMONS due to protocol change to handle new
1474 - Updated examples directory with my most recent config files.
1475 - Modified the M_TERM meaning to mean that Bacula has
1476 terminated in error without producing a dump. Previously,
1477 it meant that Bacula terminate (with or without error).
1478 You should remove any !terminate from your messages
1480 - Changed the order of the libraries in the link so that
1481 tcp wrappers link properly. Thanks Phil for reporting this.
1482 - A user reported that filenames containing spaces were truncated
1483 in bextract. This was indeed the case. They were also truncated
1484 in Restore as well as in Verify. They are, hopefully, all fixed
1486 - Made a few error conditions in Verify non-fatal.
1487 - Modified the Console "query" command to permit multiple SQL
1488 statements per command.
1489 - Implemented three new "query" options:
1490 List last 10 Full Backups for a Client
1491 List Volumes used by selected JobId
1492 List Volumes to Restore All Files
1493 To use them, simply type "query" to the Console program, and
1494 select the one you want.
1495 - Modified bextract to default to extracting all files (i.e. /).
1496 - Cleaned up the code in bextract a bit.
1499 - Improve Verify command to include files examined.
1500 - Eliminate fcntl() locking of the console file and replaced
1501 it with a pthreads mutex.
1502 - Note Director - SD protocol is changed to handle new tape
1503 information (Fileset, JobType, JobLevel).
1504 - Create config.out that contains a summary of ./configure
1505 to see what you previously configured: "cat config.out"
1506 - Implemented GZIP compression. Added addition syntax to
1507 Include { } resource to permit setting of any GZIP compression
1514 Level 1 is minimum compression and level 9 is maximum. Using just
1515 GZIP gives the default (level 6).
1516 - Enhanced the tape format to include the unique Job name, FileSetName,
1517 JobType, and JobLevel in the Start/End of Session records. The code
1518 detects that tape level difference and acts accordingly. You can
1519 add data in the new format to old tapes.
1520 - Fixed an incorrect display message in the prune command.
1521 - Began implementation of Verify Volume and Verify Data.
1522 - Cleaned up File daemon restore.c a bit ensuring that termination
1523 cleanup is done and all possible Emsgs are converted to Jmsgs.
1524 - Modify bls.c to use common setup routines. This reduced the big
1525 code duplication that creeped in when I added different listing
1526 options. Also, changing tapes is now handled uniformily in a subroutine.
1528 ===========================================================================
1529 2002-05-27 Release 1.20
1530 - Started documenting Catalog Pruning and Recycling.
1531 Added catmaintenance.html and recycling.html
1532 - Fixed the query command bug.
1533 - Implemented PID files to prevent two copies of Bacula
1534 from running at the same time. Be sure you --with-pid-dir
1535 points to a working directory.
1536 - Modified ASSERT() to cause a segmentation violation. This
1537 permits a core dump.
1538 - Worked on gnome-console. It paints better, it tells you if it
1539 is ready to accept a command or processing one, and it is
1540 almost entirely GTK+ (rather than GNOME, I'm removing GNOME
1542 - Limit to 100 the number of tape labeling errors in a single Job.
1543 - Add some additional ASSERT()s to the database routines. I don't
1544 like ASSERTs but they do catch bugs.
1545 - Tested and debugged recycling of Volumes. Needed to change
1546 the Director-SD protocol slightly.
1547 - Removed the experimental SIGHUP in the Director as it is a
1548 potential source of errors.
1549 - Added Level, Pool, Messages, and Storage keyword/value scanning
1550 to the Schedule Run record.
1551 - Improved printing of Schedule resources with "show schedules"
1552 - Do not autoprune Jobs/Files if the Job errs.
1553 - Updated newvol() to pass back the updated Media record.
1554 - Fixed the "update pool" command, which was broken during a much
1555 earlier code reorganization.
1556 - Improved a few of the pruning messages.
1557 - Removed readline inclusions from gnome-console (hang over from console).
1558 - Make Jmsg use daemon message handler if no message handler is defined.
1559 This is always the case in the SD and FD.
1560 - Started removing __PROTO(). With C++ prototypes are manditory, so why
1561 keep around legacy code.
1562 - Added a good deal of message internationalization -- more to be done.
1563 - Move cached Path into mdb structure and use POOLMEM.
1564 - Fix verify bug introduced last update causing incorrect diffs
1565 by turning off autopruning.
1566 - Started adding code to distinguish Errors from Fatal Errors.
1567 - Errors are now counted in message.c for a Job.
1568 - More POOLMEM cleanups.
1569 - Implemented Automatic pruning.
1570 - Implemented Automatic recycling of Volumes.
1571 - Added PruneJobs/Files/Volumes=yes or no to Job resource. If set,
1572 it forces the specified pruning.
1573 - Modified rwlock to accept multiple nested write lock
1575 - Modified the cats directory to use the new rwlock mechanism
1576 in place of P() and V().
1577 - Defined db_lock(mdb) and db_unlock(mdb). They are in effect
1579 - Add CVS Id's to most files.
1580 - Made first cut at AutoPrune
1581 - Added new autoprune file that is called at the end of
1582 each Job. It then decides when and what to prune and
1583 calls the UA prune routines.
1584 - Modified Run (in Schedule resource) to permit overrides of
1585 Level, Pool, Storage, and Messages. (not tested).
1586 - Added more POOLMEM in place of char.
1587 - Implemented daemon pid files. This prevents multiple
1588 daemons from running simultaneously. You can run multiple
1589 daemons if they listen on different ports.
1590 - Documented the Schedule resource a bit better.
1591 - Began gently adding a POOLMEM type (perviously void).
1592 For the moment it is a #define to char, but long term
1593 it should be its own typedef.
1594 - Corrected a bit of spacing on the status bar of gnome-console
1595 - Added Admin and Archive Job types.
1596 - Implemented multiple Messages resources. Each daemon has
1597 its own message resource, which defaults if not defined.
1598 Jobs may now have different message handlers.
1599 - Cleaned up a bit of duplicate code in backup, verify, and
1600 restore by creating appropriate subroutines in job.c
1601 - Added Type, Client, FileSet, and Level resource record
1602 definitions to the Director. These can be used in place
1603 of the Backup = ..., Verify = ..., ... commands. This needs
1605 - Corrected an incorrect message in the prune code and added
1606 the number of Files pruned in the message.
1607 - Corrected several paint problems with gnome-console.
1608 - Added a bit of printout in signal handler during traceback.
1609 - Cleaned up most of sm_check() to be turned on/off by define
1612 ===========================================================================
1613 2002-05-10 Release 1.19
1614 - Allow the user to select a new period for pruning.
1615 - Lots of additions to the manual -- prune and purge
1616 commands documented.
1617 - Applied Phil's configure.in fix for --prefix, ...
1618 - Fixed bug found by Phil (patch supplied) in updating
1619 MD5 signatures (revert to 32 bit FileId, move "static"
1620 variables into JCR) (catreq.c fd-cmds.c).
1621 - Reverted to using INTEGER for FileId in make_sql_tables
1622 due to a bug in MySQL.
1623 - Change editing code to %d for FileId.
1624 - Remove sqlite in make distclean in cats directory.
1625 - Remove console.conf in console during make distclean.
1626 - Remove gnome-console.conf during make distclean.
1627 - Remove bacula-dir.conf during make distclean.
1628 - Set default level when using Console if none specified.
1629 Bug reported by Phil.
1630 - A simple . command from Console is ignored.
1631 - Change program named from filed to bacual-fd in winmain.cpp
1632 - Change default config file for Win32 in winmain.cpp
1633 - Free namebuf on early return from find_one.c. Bug reported by Phil.
1634 - Modify testfind.c to dump orphaned buffers.
1635 - Removed terabytes from parse_conf.c because of problems with
1636 older gcc compilers.
1637 - Turn off gnome options in gnome-console by constructing empty argv.
1638 - Fixes to Verify when only MD5 differs.
1639 - Insert 0 for MD5 as default rather than space.
1640 - Allow .messages "transparent" command while reading input
1641 in UserAgent server.
1642 - In dird/verify.c ensure that correct filename is printed if only
1643 the MD5 differs. Minor reindenting caused large diff.
1644 - Delete unused code from backup.c
1645 - In filed/verify.c ensure that same algorithm as backup.c is used
1646 to pass back MD5 signatures -- especially for directories and files
1647 that cannot be read. Change dummy filename from X to *MD5-id*.
1648 This dummy value should never be printed.
1649 - Make gnome-console poll Director every 5 seconds for output.
1650 This means that queued up messages are displayed at reasonable
1651 intervals. Delete some unused code hanging around from the tty
1653 - Begin implementation of prune commands.
1654 - Add command line history to gnome-console. Not yet saved across sessions.
1655 - Fixed some broken URLs in the manual.
1657 - Wrote first cut of "prune files" and "prune jobs".
1658 - Added command line history to gnome-console 2500 lines max.
1659 - Widened store_time() and associated variables to 64 bits using
1660 new btime_t definition.
1661 - Removed GNOME about box and replaced it with
1662 a somewhat crude Gtk+ about box in the gnome-console.
1663 - Widened StartDay in the Job DB record to be 64 bits.
1664 - Changed edit_uint_ to edit_uint64_ everywhere. Much more
1665 descriptive of what is done.
1666 - Removed most llds and replaced them with %s and edit_uint64.
1667 This makes the code a bit easier to read for beginners.
1668 - Added a btime_t typedef which is 64 bits wide.
1669 - Added most of the code needed to do Purge and Prune of
1670 database. Not yet tested. Please do not use.
1671 - Additional config options for Console.
1672 - Started adding code for Automatic Recycling of Volumes.
1673 - Allow arbitrary length filenames in Verify code.
1674 - Fix incorrect filename in Verify code.
1675 - Significant enhancement to number scanning in config parser.
1676 - Requires initializing MySQL tables, or applying cats/alter.sql
1677 to modify Media table.
1678 - Modified Makefile to printer a much more visible
1679 message if the make ends in error.
1680 - Added the Purge value to the VolStatus in the Media table.
1681 This value is set if the Volume is purged.
1682 - Enhanced the db_delete_media_record() routine to delete
1683 all associated records in the database.
1684 - Modified Console to always write to the variable "output"
1685 rather than stdout. This will permit directing output to a file.
1686 - Enhanced the Console configuration file to have a Console
1687 resource. This will allow us to add an rcfile and history file.
1688 - Modified Find_next_vol in catreq.c to search for "Recycle"
1689 volumes if there are none marked Append. Also made Get_Vol_info
1690 return the VolStatus to the Storage daemon.
1691 - Allow upper/lower case match on job level names.
1692 - Added another warning message to the Console "delete media" command.
1693 - Corrected a number of FileId types from uint64_t to FileId_t in
1695 - In ua server close database before freeing JCR (because pointer is
1696 kept in ua and jcr structures).
1697 - parse all numbers as doubles. Do lots of checking for valid number
1698 formats. Allow numbers in scientific form (e.g. 1.5e+10).
1699 - Remove terabyte modifier as it doesn't work in some compilers.
1700 - Fix bug in handling some modifiers.
1701 - Added all necessary code for Recycle to Storage daemon. A Volume
1702 marked Recycle will now be overwritten.
1703 - Filled out the prune command a bit and did some testing.
1704 - Make console accept redirected input.
1705 - Altered the Table definitions to include Recycle,
1706 FileRetention, JobRetention, and AutoPrune.
1707 - Widened StartDay to 64 bits.
1708 - Use JobId_t in more places.
1709 - Added the new table fields to the database record definitions.
1710 - Changed Recycle from string to a binary quantity.
1711 - Added a Version table with a VersionId to detect.
1712 future changes in the database. This should prevent
1713 a Bacula from working with a database that is not in sync.
1714 - Modify Console to accept input from a file. This will permit
1715 the .read command and allow reading a .rc file.
1716 - Added new retention and recycle variables to the Director's configuration.
1717 - The UA subroutines or commands can now be called from core
1718 code because the output routines detect the absence of a
1719 UA socket and direct output to the Job.
1720 - Added a verbose flage to the ua packet to permit reduction of
1721 output while running a UA command (prune) from a Job.
1722 - Did a fair amount of work on the prune command. Prune Volume now works.
1723 - Purge Volume now works.
1724 - Made last changes for integrating prune and purge commands.
1725 - Add -ltermcap to CONS_LIBS when readline is configured.
1726 More work to be done to search for termcap.
1727 - Added cats/drop_sqlite_tables.in, which will delete the SQLite database.
1728 - Got CWEB working so that we can compile filesys.w and immortal.w
1729 - Modified depkgs to include cweb.
1730 - Note, CWEB is not yet used by the core Bacula code.
1731 - Made cats/alter.sql, which alters an old database to bring it
1732 up to the new format. This only works with MySQL since SQLite does
1733 not have the ALTER SQL command.
1734 - Changed the old StartDay field in the db to be JobTDate, which is
1735 the latest time/date in widened Unix time format that the Job ran.
1736 This value is used when doing pruning.
1737 - Added code in cats/sql.c to verify that the database internal version
1738 corresponds to the db version compiled in Bacula. It is set to 1 currently.
1739 - Lots of changes to cats to bring the SQL up to date with the new
1740 retention period changes.
1741 - Added Console command code to permit changing a Volume's retention period.
1742 - Removed old code that used date_encode() and replaced it with widened
1744 - Started modifying Message resource scanner so that we can have multiple
1745 message resources. Much more work to be done.
1746 - Moved scanning for time into new library routine string_to_btime().
1748 ===========================================================================
1749 2002-04-22 Release 1.18
1750 - Applied Phil's configure.in fix for --prefix, ...
1751 - Fixed bug found by Phil (patch supplied) in updating
1752 MD5 signatures (revert to 32 bit FileId, move "static"
1753 variables into JCR) (catreq.c fd-cmds.c).
1754 - Reverted to using INTEGER for FileId in make_sql_tables
1755 due to a bug in MySQL.
1756 - Change editing code to %d for FileId.
1757 - Remove sqlite in make distclean in cats directory.
1758 - Remove console.conf in console during make distclean
1759 - Remove gnome-console.conf during make distclean
1760 - Remove bacula-dir.conf during make distclean
1761 - Set default level when using Console if none specified.
1762 Bug reported by Phil.
1763 - A simple . command from Console is ignored.
1764 - Change program named from filed to bacual-fd in winmain.cpp
1765 - Change default config file for Win32 in winmain.cpp
1766 - Free namebuf on early return from find_one.c. Bug reported by
1768 - Modify testfind.c to dump orphaned buffers.
1769 - Removed terabytes from parse_conf.c because of problems with
1770 older gcc compilers.
1771 - Turn off gnome options in gnome-console by constructing empty
1774 ===========================================================================
1775 2002-04-18 Release 1.17 Kern Sibbald
1776 - Ensure that platforms Makefiles are called for clean
1778 - Hide a lot of Makefile messages with @
1779 - Applied Phil's configure.in patch. Thanks.
1780 - Doc updates, many to clarify points brought up by Phil.
1781 - Applied Phil's make_mysql_tables.in patch. Thanks.
1782 - Made authenticate.c in dird test bnet_send status.
1783 - Make label a bit more friendly with extra info message.
1784 - Add level 200 to debug info in run command.
1785 - Remove old code from findlib/testfind.c so that it compiles.
1786 - Add two minute max wait to cram-md5 authentication. Hopefully,
1787 this will catch non-responding WinNT daemons.
1788 - Allow time and size modifiers to be upper or lower case.
1789 - Turn off old CYGWIN patch for pthread_cond_timedwait() bug that
1790 now causes File daemon hangs on WinNT.
1791 - Fix mount messages for restore. Previous updates to save
1792 broke the restore code.
1793 - By default write fixed block sizes rather than variable block
1794 sizes. My Sony DAT simply does not work (reread failures) with
1795 variable block sizes.
1796 - Data split across tapes was not being correctly restored
1797 (at least on DAT tapes).
1798 - Implement MaximumBlockSize and MinumBlockSize statements in
1799 Storage daemon so user can specify variable block sizes if
1801 - Return error if block checksum error on read (previously
1803 - Fixed some error messages in bls, and in some cases exit(1)
1804 rather than ABORT. There remain ABORTs to be examined.
1805 - Made a local copy of tcpd.h and corrected the function
1806 prototype problem for C++.
1808 ===========================================================================
1809 2002-04-14 First public release 1.16 Kern Sibbald
1810 - Many intervening changes/updates.
1812 2001-09-29 Release 1.0 Kern Sibbald
1813 - Fixes to problems found at John's installation.
1814 - See techlogs/kes25Sep01 for details
1816 2001-09-25 Release 1.0 Kern Sibbald
1817 - Helped John install at his site.
1818 He is backing up one Linux machine and
1819 one Win2000 machine.
1821 2001-mm-dd Many releases
1822 - Released internally.
1824 2000-04-09 Release 0.4 Kern Sibbald
1825 - Added a lot of Director configuration code. In
1826 part (a small part), the Director now uses the
1827 bacula.conf file to know what to do. There still
1828 remains a lot to do.
1829 - The file search code is now integrated into the
1830 MySQL database routines, and Bacula is now hooked
1831 into the MySQL database (if so configured). Thus
1832 all the database records are being created, though
1833 there still remains some work in getting all the
1834 details into the records (such as the Storage
1836 - I've defined how Volume pools work (see manual).
1837 - I've defined error message handling though no code
1839 - The following resources and records are implemented
1840 in the Director configuration file (bacula.conf):
1843 Name (passed to Storage daemon)
1846 Password (not yet used)
1848 Name, Address, Port, Password, MediaType
1852 Backup (only one permitted)
1855 Schedule, Messages, Pool (not used)
1858 Include (options ignored)
1859 Exclude (no options)
1864 Debug, syslog, mail, append (not used)
1867 Address, Port, Password (not used)
1870 PoolType, MediaType (not used)
1872 - Added Storage configuration routines.
1874 Name, password (verified against those sent by Director)
1876 Name, Address, Port (address, port must correspond to Director's values)
1879 Name, MediaType (must correspond to those sent by Director)
1880 Archive Device (defines device name)
1883 2000-03-10 Release 0.3 Kern Sibbald
1884 - Implemented new base64 encoding for attributes.
1885 This eliminates some of the error messages in the
1886 sprintfs on the Solaris due to different stat() sizes.
1887 - Implemented the first cut of the file search routines for
1888 the File daemon. The exclusion lists work including wild
1889 cards. There is a lot of work to be done, but the basic
1890 structure is now in place (wild cards do not yet work for
1892 - Completed writing the memory pool code. Now I must
1893 implement it in the daemons.
1894 - Modified the bacula start/stop script so that it has a
1895 better chance of working on SGI and Solaris.
1896 - The catalog code has not been converted to the new file
1899 2000-03-06 Release 0.2 Kern Sibbald
1900 - Integrated John's fixes.
1901 - Made Makefiles self configuring when Makefile.in is changed.
1902 - Added a runit script in the top level that runs bacula
1903 - Added a "bacula" script in the top level directory that
1904 starts and stops the File daemon and the Storage daemon.
1906 2000-03-03 Release 0.1 Kern Sibbald
1907 - Basic Director, File, and Storage daemons.
1908 Standalone Catalog services using MySQL
1910 2000-01-22 Kern Sibbald
1911 * Setup basic file structure with ./configure