2 Release Notes for Bacula 1.35.1
4 Bacula code: Total files = 384 Total lines = 110,682 (*.h *.c *.in)
8 - Added Tape Alert feature (see Alert Command).
9 - New IPv6 code (untested)
10 - New way of specifying Addresses and Ports -- permits having
11 server listen on multiple ports.
12 - Regular expressions in Options directive.
13 - Reader/writer programs in Options (not yet fully implemented,
15 - Fixed specification of bind address on Win32 (thanks to
17 - Update all Volumes from Pool record.
18 - Update License to terminate rights of anyone suing a GPL licensor.
19 - Improved error messages for Win32 and when running external
20 programs (e.g. RunBeforeJob).
21 - Implement reload of conf file in Directory on SIGHUP.
22 - Building restore tree is much faster on large filesets
26 - Alert Command in Device resource of Storage Daemon.
27 - New IP address and port directives.
28 - reader = xxx, writer = yyy in Options within FileSet of
30 - regex = xxx in Options within FileSet of Director's
32 - New command options: update AllFromPool updates all
33 Volumes with Pool defaults.
34 - .backups client=xxx (for GUI programs).
37 - All daemons should be compatible with 1.34 with the exception
38 of the new FileSet features such as regular expressions.
39 - Regular expressions are not implemented in the Win32 FD.
42 - Print error message if Alert Command fails in bpipe_open().
44 - Eliminate unnecessary class in findlib/attribs.c
45 - Add necessary empty files to new tray-monitor directory.
46 - Implement Class with template in findlib/attribs.c to do casting
47 of uint64_t into stat packet types to avoid compiler warnings.
48 Thanks to Meno for this idea.
49 - Make some modifications to satisfy VC++.
50 - Apply Martin Simmons' second patch to compat.cpp to fix the line
52 - Apply Meno's fix to bnet that corrects use of ipaddr after free_addresses,
53 back out my kludges, and it works.
54 - Modified configure.in to by default add -Wall.
55 - Found some problems with printing IP addresses -- will notify Meno.
56 - Added printing Pool to Job report.
57 - Fixed several places where dlists were not being released
58 (term_job_server, ...)
59 - Started implementing New() for dlists. Spent a lot of time,
60 but could not get it to work.
61 - Fixed a mutex deadlock between the job queue scheduler and the
63 - Made add_address() static.
64 - Added bsnprintf to address_conf.c
65 - Apply Marin Simmons patch to inet_aton() in compat.
66 - Build on Win32 -- required a few changes because of new IP code.
67 - Implement program reader code in Dir and FD -- not tested, and
68 a few corrections for writer code are needed in FD.
69 - Rework SQL for pruning. Add Admin pruning. Prune failed
70 jobs in Verify and Restore.
71 - Don't put commas in listing produced in restore so that users
72 can cut and past JobIds without having commas in the way.
73 - Change size_t to socklen_t in filed.c -- reindent a bit.
74 - Remove addr_list->size from buf size definition in bnet.c
75 - Create a Developer's document.
76 - Add prompt for Update volume from pool and update all
78 - Implement user friendly time duration input editing.
79 - Add buf len argument to edit_utime().
80 - Added eliminate orphaned Client records to dbcheck.
81 - Implement Alert Command in SD Device conf.
82 - Fix updating a Volume from the pool record -- it never changed
84 - Implement updating all Volumes from pool record.
85 - Add patch by Denis Shaposhnikov that fixes excludes of directories
86 in new style FileSets.
87 - Merge Meno's IPv6-1 code.
88 - Update License to terminate rights of anyone suing a GPL licensor.
89 - Add Pruning doc sent by Bryce Denney
90 - Correct inconsistencies in restore command doc pointed out by user.
91 - Don't edit commas in SQL intergers if they are not stricly integer.
92 - Update all pools in all DBs when starting the Director.
93 - Implement final cut of berrno and update Win32 code.
94 - Update copyright to include a termination clause. Add copyright to
96 - Implement .backups client=xxx for Nicolas.
97 - Make first cut at implementing berrno class to handle Unix, Win32
98 and bpipe errors. Bpipe still needs to be implemented.
99 This fixes (not yet tested) the Win32 errno problems in the compat lib.
100 - Fix btape compile problem reported by Martin Simmons -- thanks.
101 - Add ./configure detection of sys/tape.h
102 - Apply two fixes to recent changes to dev.c submitted by
104 - Add checks in btape for correct size of off_t, and correct editing
105 of 32 and 64 bit values.
106 - Move supported OS/hardware into a chapter by itself.
107 - Fix bscan, which did not handle walking dcr list.
108 - Remove old attach_jcr_to_device() code.
109 - Fix config from Andy Wettstein's patch to use bitypes.h and detect
110 uint32_t, ... definitions.
111 - Fix a few compiler warnings because of casting pointers to int and
113 - Do some minor cosmetics to query.sql. nothing changed.
114 - Don't call stop_thread_timer() in backup.c if timer not started.
115 - Fix bug with out of order JobIds on restore.
116 - Make watchdog examine queues once every 10 seconds instead of once
118 - Add more bools to dev.c
119 - Fix walking attached DCRs in bscan.c
121 - Start work on rescue files. Integrated RAID changes.
122 - Print a message when query.sql moved to query.sql.old during install.
123 - Move setting of FreeBSD chflags() to after utime() to avoid error
124 messages is immutable bit is set.
125 - Turn off heartbeat in FD when -s is given so that we can
126 debug without a flood of signals.
127 - Close and reopen the device during an append test in
128 btape. This better tests appending as if Bacula stops/restarts.
129 - Remove old attach/detach_jcr_to_device() code
130 - Add new attached_dcrs code.
131 - Remove unnecessary subroutine for bsnprintf.
132 - Replace sprintf() by home-grown code in edit_uint64 ...
133 - Begin implementation of dev->attached_dcrs.
134 - Remove scripts/fd.in from configure.in
135 - Add printing of JobId when a Job is started from the console.
136 - Remove fd/fd.in from scripts directory.
137 - Fix a number of bugs in dbcheck concerning the -c option
138 (i.e. with a config file).
139 - Made RH start scripts use -u and -g options.
140 - Many more DCR changes.
141 - Add job message indicating that the job has been rescheduled
143 - Fix job end time so that it is always updated. Previously it
144 was not updated when a job was rescheduled.
145 - Correct SQL for restoring job by path/name. It could sometimes
146 pickup the wrong JobId -- submitted by a user.
147 - Add a number of "%s" in editing database errors -- security issue.
148 - Ensure that the NumVols is incremented and decremented in the
149 pool record when Volumes are created or deleted.
150 - Cleanup error handling when labeling a tape. If vol was read-only,
151 the device would still be marked as having found a label.
152 - Put ftCreationTime into st_ctime of stat packet. Hopefully
153 this will fix the problem of noticing files have been moved
154 into the save path after a Full save.
155 - Fix bug in "status dir" where not all entries are listed.
156 - Cleanup some improper result printing in configure.
157 - Optimize a couple of insertions in binary_insert of dlists.
159 Release 1.35.0 08 July 2004:
160 - Apply Christopher Hull's const patch for PostgreSQL
161 - Add code to block.c to detect if block header is destroyed.
162 - Add debug code for memset checking for zeroing 1900-3000 bytes
163 which is what happened to the block headers.
164 - If block header is destroyed, read the next block. Probably
165 should return with new status similar to the SHORT block
167 - Add more debug info to bls for bad blocks.
168 - More implementation of DCRs.
169 - Eliminate argument passing in SD by using dcr.
170 - More int->bool conversions.
171 - Add file:block to a number of read/write error messages.
172 - More int -> bool conversions.
173 - Modify the SD piece by piece to use DCRs everywhere.
174 - Cleanup some printout for query command.
175 - Fix typo in cats/mysql.c
176 - Work on cleaning up tape driver a bit (use bools, better calling
178 - Attempt to fix multi-Volume disk backup. Needs to be tested.
179 - Add Regular expressions to FileSet options.
180 - Correct configure.in to use ${MAKE} for doing the dependencies.
181 - Make MySQL and PostgreSQL try for 30 seconds to connect before
183 - Correct Gnome 1.4 Makefile to build without cats library.
184 - Correct a crash reported (with patch) by Jonathan Soong
185 when attempting to backup an ACL on a symlinked file.
186 - Fixed an off by one bug in the new resources pointer code.
187 res_head array was one too small.
188 - Added Errors to last_job list. This allows detecting jobs
189 that terminated in a warning.
190 - Implement setting the Win32 icon to yellow instead of red
191 when the job terminated OK but with warnings.
192 - Fix the Win32 makefile and VC project file. The links were
193 not including the Win32 dlls.
194 - Delete some old Win32 code that was turned off.
195 - Eliminate a few more Win32 compiler warnings.
196 - Reduce the output produced by NIS (Win32 install builder).
197 - Simplify some of the #ifdefing in compat.h
198 - Rewrite spooling error handling when I/O error occurs. It is
199 a bit tricky, requiring to truncate the file so that a despooling
200 will work correctly. Needs to be tested.
201 - Make better subroutines for setting up for a new job.
202 - Start putting all DB ids on #defines (going to 64 bits).
203 - Fix gnome-console Makefile.in to work again.
204 - All "level=Incremental/Decremental" to the estimate command. This
205 required some re-arrangement of subroutines at a fairly low level.
206 - Apply Piotr Jaworski's patch (patch-r-status.diff) to update the
207 catalog status when a backup job starts running.
208 - Add (char*) cast to readline call in console.c for old readlines.
209 - Copy Makefile.in from gnome2-console to gnome-console (to eliminate
210 need for cats library).
211 - Modify spooling code to handle write error (e.g. spooling disk full)
212 more gracefully. Previously despooling would fail.
213 - Reduce casting in smartall.c a bit and add counters for
214 bytes, max_bytes, buffers and max_buffers.
215 - Fixed reload algorithm to stack both job end callback and the
217 - Fixed the orphaned buffer after reload (job_end_push had to be
219 - Destroy cond var (jcr->term_wait) only if initialized.
220 - Sort the Scheduled Jobs list by start-time, priority.
221 - Implement resources on a pointer.
222 - Fix Gnome console crash on up/down arrow with no history.
223 - Finish first cut of SIGHUP code. To make really work need res
224 on a single pointer rather than in fixed memory.
225 - Fix a number of places in query.sql where multiple JobIds are
226 printed (due to JobMedia records).
227 - Add new query: List jobs on Volume given Volume name.
228 - Correct socket close on Win32 in bnet.c (in addition to compat.cpp).
229 Caused fd leak in Win32 for each connection.
230 - Remove vol labeled test in askdir update_volume_info so that non-labeled
231 Volume in catalog can be marked in error.
232 - Close socket in SD when connection rejected. Caused fd leaks.
233 - Initialize job_start_wait cond variable after every new_jcr() otherwise
234 NetBSD gets error in library when trying to delete it without being inited.
235 - Fix typo (9 instead of 0) return status in write_new_volume_label.
236 - Fix mount.c to call routine that correctly marks a volume in error.
237 - Move code to rewrite volume label to subroutine -- a bit cleaner.
238 - Finish implementation and testing of new restore tree code.
239 - Implement feedback while tree is loading.
240 - Eliminate printing INFO message in UpdateDB (cats) -- it generates
241 "false" error messages.
242 - Eliminate some GTK error messages when running the Gnome2 console.
243 - Begin restructuring tree.c for inclusion of the binary_insert()
245 - Apply Peter Eriksson's lib file order changes in linking for IRIX.
246 - Abort configure if Internal is selected as the database.
247 - Add testimonials to the Web page
248 - Add the bugs list to the Web page "lists".
249 - Clarify the English in SuSE and Slackware when SD not running.
250 - Applied another extern "C" patch from Peter Eriksson.
251 - Fixed a bunch of VC warning messages.
252 - Applied the patches sent by Andreas Jellinghaus: build Gnome and
253 wx-console in client-only build if configured; add ./configure option
254 to permit setting of sbin modes -- default is 0745 as before; remove
255 cats library from Gnome console build; remove old version from Gnome
256 About box. Thanks Andreas.
257 - Applied Peter Eriksson's const changes to the source code. Thanks Peter.
258 - Implemented a binary_insert() method for dlists -- intended to be used
259 in the restore tree routines.
260 - Turned on my bsscanf() code, which replaces sscanf() by my routines, which
261 are a subset of sscanf() used by Bacula, but which have known 32/64 bit
262 behavior rather than vendor dependent !@#$%*.