1 Technical notes on version 1.39
7 - Modify the Python class examples to inherit object -- new way
8 of defining classes. Patch from Felix Schwartz.
9 - Implement jobuid to replace old usage of job in keywords as
10 suggested by Eric Bollengier.
11 - Apply patch for enhancing wait from Eric Bollengier. On can now:
12 wait (wait for all jobs to stop)
16 - Implement write variables for Python to set Priority (anytime), and
17 Job Level, only during JobInit event.
20 - Fix the block listing bug pointed out by Arno.
21 - Update the po files at Eric's request.
24 - Fix Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
25 accept time qualifiers.
26 - Make catalog respect ACL.
27 - Add recycle count to Media record.
29 Changes to 1.39.6-beta1 24Feb04
31 - Add Rudolf Cejka's new rc-chio-changer.
32 - Implement pulling Volume from Scratch Pool if the
33 Volume is in the autochanger.
34 - Implement additional command arguments for update Volume.
38 - Back port changes to 1.38.5
39 - Fix recycle SQL for StorageId.
40 - Fix misplaced quote in mtx-changer script.
42 - Note. Your database must be updated, or you must create
43 a new database. I have not yet incremented the database level.
45 - Add LocationId, DeviceId, and MediaTypeId to Media record.
47 - Implement create/get mac record in database for adding extended
48 Migration data to the job record.
49 - Add new MAC table to update/make database scripts.
50 - Return Storage name used when getting VolumeNames for a job.
51 - Change bsr file keyword Storage to Device, which is more accurate.
52 - Ensure that Mac records are pruned/purged.
53 - Tweak SD tools to deal with changing media type.
54 - Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
55 - Pass pointer to dcr pointer to acquire_device_for_read() so
56 that the subroutine can switch devices, and hence dcrs.
57 - Modify the multiple MediaType read code to re-use the same
58 dcr when switching devices. This makes the code much more
60 - Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
61 from a table for restore.
62 - Add Storage name to VolParams, but it really should be Device.
64 - Add disk-changer to scripts directory + configure/Makefile
65 - Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
66 - Implement store_bit scanner to replace store_yesno. Mostly done.
67 - Implement new store_bool that stores in a bool.
68 - Add true/false to yes/no conf directives.
69 - Make first cut at changing appropriate store_yesno to store_bool.
70 - Complete implementation of Pool storage devices.
71 - Move starting clones to job.c
72 - Move create_restore_bootstrap_file() to job.c
73 - Make copy_storage() more general to be able to handle
75 - Cleanup a lot of migration code for manual running, including
77 - Move getting a scratch Volume into a subroutine.
78 - Make all places a Volume that is added to a pool to
80 - Fix bug in autochanger recycle code (improper edit 64 bit).
81 - Fix segfault in restore command when no value specified.
82 - Start adding code to handle multiple MediaTypes in restore.
83 - Eliminate race condition in getting Volume name for
84 two drive autochanger.
85 - More debug code in autochanger.
86 - Add storage keyword to bootstrap file, add parsing.
87 - Move slot in bsr file into Volume record as there will be
88 a different slot for each Volume.
91 - Implement Pool storage overrides.
93 - Implement first cut of Migration.
94 - Implement mysql_use_result() from patch by Karl Hakimian.
95 This reduces significantly the memory consumption during
96 the restore tree building, and hence runs faster too.
97 - Implement StorageId patch supplied by user (reggie) in bug
98 #536. This should permit Bacula to work correctly with two
100 - Implement Job listing variations suggested by a user.
101 - Move updating bootstrap code in backup.c to subroutine
102 update_bootstrap_file().
103 - Add new job status elapsed time and bytes written user
104 friendly job report output patch sent by a user.
105 - Implement a storage list in Pools.
106 - Separate out setup_job() code from run_job().
107 - Get migration working -- lots of changes in mac.c in both
109 - Apply patch from user (Eric Bollinger I think) that fixes a
110 DIR crash when no arguments are supplied to a dot command.
111 - Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
112 - Fix command arg name->volume in label command of gnome-console.
113 - Fix SD acquire.c to release correct DCR by explicitly testing
114 on the dcr address rather than trying to devine if it is a read
115 or write dcr. This failed in error conditions when the device was
119 - Apply user supplied patch for more readable rate output
121 - Continue implementing migration.
122 - Implement support for removable filesystems in SD.
123 - Ensure that btraceback scripts can be read by anyone.
124 - Replace dvd-freespace and dvd-writepart by dvd-handler.
125 - Correct bug where canceling restore before the FD contacts
126 the SD causes the drive to be left in read mode.
127 - Move ofline_or_rewind into DEVICE::close().
128 - Eliminate close_device.
129 - Convert several dev subroutines to methods (e.g. bsf,
131 - Eliminate force_close_device().
132 - Implement Device Type directive in Device resource that
133 can have values File, Tape, Fifo, DVD, or Prog.
134 - Add has_cap() method to Device.
137 - Add patch from bug #527 to allow RedHat user to specify
138 options/user/group for starting each daemon in
141 - Add two new queries to query.sql provided by Arno. One
142 list volumes known to the Storage device, and the other
143 lists volumes possibly needing replacement (error, ...).
145 - Add periodic (every 24 hours) garbage collection of memory
146 pool by releasing free buffers.
148 - Correct bug counting sized (for display only) in smartall.c
149 - Print FD mempool stats if debug > 0 rather than 5.
151 - Make db_lock() mutex error fail the job rather than abort
152 Bacula. Canceling the job caused the mutex to fail.
153 - Correct bug in alist.c that re-allocated the list if the
154 number of items goes to zero.
155 - Move the reservation system thread locking to the top level
156 so that one job at a time tries all possible drives before
158 - Implement a reservation 'fail' message queue that is built
159 and destroyed on each pass through the reservation system.
160 These messages are displayed in a 'Jobs waiting to reserve
161 a drive' list during a 'status storage='. Note, multiple
162 messages will generally print for each JobId because they
163 represent the different problems with either the same drive
164 or different drives. If this output proves too confusing
165 of voluminous, I will display it only when debug level 1
166 or greater is enabled in the SD.
168 - Add enable/disable job=<job-name>. This command prevents
169 the specified job from being scheduled. Even when disabled,
170 the job can be manually started from the console.
171 - During 'update slots' clear all InChanger flags where the
172 StorageId is zero (old Media records).
176 - Fix autochanger code to strip leading spaces from returned
177 slots number. Remove bc from chio-changer.
178 - Back port a bit of 1.39 crypto code to reduce diffs.
179 - Fix first call to autochanger that missed close()ing the
180 drive. Put close() just before each run_program(). Fixes
183 - Add PoolId to Job record when updating it at job start time.
185 - Pull in more code from 1.39 so that there are fewer file
186 differences (the new ua_dotcmds.c, base64.h, crypto.h
187 hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
188 util.c. Aside from ua_dotcmds.c these are mostly crypto
190 - Implement new method of walking the jcr chain. The
191 incr/dec of the use_count is done within the walking
192 routines. This should prevent a jcr from being freed
193 from under the walk routines.
198 - Start implementing Verify list output.
199 - Move the suitable_drive flag to a better place to prevent
200 premature termination of the reservation if all drives
201 are busy -- should fix Arno's diff/inc pool failures.
203 - Add mutex to single thread VSS code in Win32.
205 - Simplify code in askdir.c that waits for creating an appendable
206 volume so that it can handle multiple returns from the wait
208 - Modify the wait code to permit multiple returns.
209 - Return a zero when "autochanger drives" is called and
210 it is not an autochanger.
211 - Make rewind_dev() a method taking a DCR as an argument.
212 This permits closing and reopening the drive if the
213 rewind fails as happens if the drive was loaded while the
214 file descriptor was open. This refreshes the file descriptor.
215 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
216 if the device is open or not. This should eliminate
218 - Return error if reserve cannot find at least one suitable device.
219 - Make wait_for_sysop() return correct state information.
220 - Fix Win32 state file problem. write was not using compat
221 code. This should fix bug #500.
223 - Modify gui on command to set only GUI mode and not batch.
224 - Modify .messages command to always print messages regardless
226 - If GUI mode is on, suppress automatic printing of
228 - Delete old bnet packet code.
229 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
231 - Modify restore command in wx-console to set gui on and to use
232 only .messages instead of messages. Hopefully this fixes bug
234 - Fix seg fault in exit of acquire when canceling a job --
235 reported by Wolfgang Denk
236 - Pull in latest reservation system changes from 1.38
237 - Make .messages command always print messages regardless
238 of the automessages flag.
240 - Fix seg fault if user labels a drive directory bug #513
241 - Remove quotes around Version as it breaks things.
243 - Merge in Aleksandar Milivojevic's mods to the spec file.
244 - Apply sparse code fix for raw drives and fifos. Bug 506
245 - Thorsten fixed Unicode cd problem with wx-console bug 505.
247 - Correct reservation system to do a last ditch try
248 for any mounted volume, then anyone anywhere.
249 - Add quotes around table Version because of
250 error in MySQL 4.1.15 -- bug report submitted.
251 - Correct some minor problems with btape in the fill
253 - Updates to ssh-tunnel from Joshua Kugler.
254 - Added a report.pl program from Jonas Bjorklund.
255 - Simplify the O_NONBLOCK open() code for tape drives,
256 and always open nonblocking.
257 - Do not wait for open() if EIO returned (shouldn't happen).
258 - Eliminate 3 argument to tape open().
259 - Correct the slot # edited in the 3995 Bad autochanger unload
261 - With -S on bscan (show progress) do not divide by zero.
263 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
264 - When dcr is freed, also broadcast dev->wait_next_vol signal.
265 - Remove unused code in wait_for_device.
266 - Make wait_for_device() always return after 60 seconds of wait.
270 - Add stubs for non-crypto build.
272 - Use localhost if no network configured
274 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
275 - Remove debug print.
276 - Add bail_out in error during state file reading.
278 - Merge changes made to 1.38.3 into HEAD
279 - Add stubs for pygtk-console code
280 - Create Makefile.in for pygtk-console code
282 - Merge updates into 1.38 branch
283 - Update specs to include mysql4 define.
284 - Fix when attributes are sent, must be after binit().
285 - Stop read_record() if status not ok in second loop.
286 - Return rec->FileIndex in dcr->VolLastIndex for normal
287 and partial records in read_record(). This allows bscan
288 to get FileIndex at EOT correct.
289 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
291 - Fix Win32 built to work with new crypto code.
292 - Apply patch supplied by user (slightly modified) to fix
293 correct detection of holes in block devices and FIFOs.
295 - Apply patch supplied by user (slightly modified)
296 to fix SD hang with multiple pools and bad client
299 - Add nagios plugin to the examples directory. Submitted by
301 - Remove warning message about multiple saves of hardlinked files
302 from find_one.c as it can generate too many warning messages.
303 - Modify most restore error messages to be queued so that they
304 appear at the end of the job rather than mixted with the restore
305 listing where they could be "lost".
307 - Reset timeout values before select() per patch from
308 Frank Sweetser for problems with non-blocking sockets.
309 - Unlink the state file if either reading or writing it gets
310 errors. Hopefully this will fix Win32 exit problems.
311 - Add sanity check in append.c to ensure that dcr is not NULL.
312 This can happen if multiple drive autochanger SCSI control
313 channel and drive indicies do not correspond.
315 - Get next volume from Scratch pool before creating a volume.
316 - Set new Pool defaults in Vol when moved from Scratch Pool.
317 - Remove argument from create_bacula_database for SQLite as it
319 - Add back index code so that two drive autochangers can get
321 - Change a bunch of debug levels to aid debugging autochangers.
322 - Fix reservation so that mutexes are properly applied.
323 - Rework reservation algorithm so that two drives can be used
326 - Landon merged his data encription changes into the HEAD
327 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
328 If this patch is applied, the number of days can be specified with
329 "list nextvol days=xx"
332 My use case is to be able to preview the next scheduled job (and the
333 next tape to be used) on fridays if there are no scheduled jobs during
337 - Fix font code in gnome2 console user patch. Fixes bug #501.
338 - Fix malformatted bnet error message that caused seg fault
340 - Applied user patch to improve README.vc8 in src/win32.
342 - Add Migrate, Copy, Archive Job types (some where there)
343 - Correct some more editing of JobId's (for 64 bit compatibility).
344 - Ensure that StorageId is stored in Media record when ever possible.
345 - Add Migration Job to Job.
346 - Add Migration Time, Migration High Bytes, Migration Low Bytes
347 Next Pool to Pool resource.
348 - Add more code to mac.c (migration archive copy).
349 - Change Start Storage daemon job to require read and write storage
351 - Pass read storage data to SD as well as write storage data.
352 - Remove old code from winservice.cpp
353 - Break on error in scan.
354 - Fix typo in signal.c
355 - Separate read/write DCR in SD. Add jcr->read_dcr.
356 - Cleanup how find_device() works.
357 - Add read output to Status in SD.
360 - Add red-black btree routines
362 - Remove abs() in bfile.c so that it compiles on Solaris.
365 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
366 - Fix bnet-server bug found on OpenBSD. Bug #486
367 - Fix cancel failure bug. Bug #481
368 - Fix failure when Pool name has spaces. Bug #487
369 - Fix SD crash in autochanger code. Mutex failure. Bug #488
370 - Fix a couple of free()s in src/filed/acl.c
371 - Fix memory overrun in bfile.c in building OS X resource
372 fork filename. Bug #489
373 - Add Pool name to SD status output.
375 - Apply SunOS patch for ACLs submitted by David Duchscher.
376 - Make sure to set storage before trying to set drive.
377 - Add bacula_mail_summary.sh to examples directory. It makes
378 a single email summary of any number of jobs. Submitted
380 - Make sure when we do a mount to unblock the device even
381 if the drive could not be opened.
383 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
384 and correct a few minor problems to make it build on Linux.
386 - Remove delete of CVS from all Makefiles
387 - Fix seg fault when clicking on Add button in wx-console
388 restore panel. Bug #470.
389 - Fix copyright date and URL typo -- bug #468.
390 - Change autostart install for FreeBSD to look for rc.conf
391 rather than rc.local as suggested fix for bug #466.
392 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
393 grant on status. Bug #465
394 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
395 update script. Bug #464
396 - Tweak #ifdefing a bit in new Win32 stream code.
397 - Fix #ifdeffing for FD_NO_SEND_TEST.
398 - Add documentation of performance #defines