]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
Doc updates
[bacula/bacula] / bacula / ChangeLog
1 2002-06-12 Release 1.21
2 - Fixed several problems with filenames being truncated if
3   they contain spaces. Thanks to the user that reported this.
4 - N.B. To get the new queries, after the "make" and 
5   "make install" you must explicitly replace the
6   existing query.sql by query.sql.new.  query.sql is a
7   user configuration file, so it is not overwritten.
8 - Added GZIP compression of Included files.  
9 - Added additional fields to tape SOS record permitting better
10   recovery with no database.
11 - Be sure to remove any !terminate statements you may have
12   in your config files.
13 - MUST UPDATE ALL DAEMONS due to protocol change to handle new
14   tape format.
15
16   From kes11Jun02:
17 - Updated examples directory with my most recent config files.
18 - Modified the M_TERM meaning to mean that Bacula has
19   terminated in error without producing a dump. Previously,
20   it meant that Bacula terminate (with or without error).
21   You should remove any !terminate from your messages
22   resources.
23 - Changed the order of the libraries in the link so that
24   tcp wrappers link properly. Thanks Phil for reporting this.
25 - A user reported that filenames containing spaces were truncated
26   in bextract. This was indeed the case. They were also truncated
27   in Restore as well as in Verify. They are, hopefully, all fixed
28   now.
29 - Made a few error conditions in Verify non-fatal.
30 - Modified the Console "query" command to permit multiple SQL
31   statements per command. 
32 - Implemented three new "query" options: 
33     List last 10 Full Backups for a Client
34     List Volumes used by selected JobId
35     List Volumes to Restore All Files
36   To use them, simply type "query" to the Console program, and
37   select the one you want.
38 - Modified bextract to default to extracting all files (i.e. /).
39 - Cleaned up the code in bextract a bit.
40
41   From kes03Jun02:
42 - Improve Verify command to include files examined.
43 - Eliminate fcntl() locking of the console file and replaced
44   it with a pthreads mutex.
45 - Note Director - SD protocol is changed to handle new tape
46   information (Fileset, JobType, JobLevel).
47 - Create config.out that contains a summary of ./configure
48   to see what you previously configured: "cat config.out"
49 - Implemented GZIP compression.  Added addition syntax to
50   Include { } resource to permit setting of any GZIP compression
51   level:
52      compression=GZIP
53      compression=GZIP1
54      ...
55      compression=GZIP9
56
57   Level 1 is minimum compression and level 9 is maximum. Using just
58   GZIP gives the default (level 6).
59 - Enhanced the tape format to include the unique Job name, FileSetName,
60   JobType, and JobLevel in the Start/End of Session records. The code
61   detects that tape level difference and acts accordingly. You can 
62   add data in the new format to old tapes.
63 - Fixed an incorrect display message in the prune command.
64 - Began implementation of Verify Volume and Verify Data.
65 - Cleaned up File daemon restore.c a bit ensuring that termination 
66   cleanup is done and all possible Emsgs are converted to Jmsgs.
67 - Modify bls.c to use common setup routines. This reduced the big
68   code duplication that creeped in when I added different listing
69   options. Also, changing tapes is now handled uniformily in a subroutine.
70
71
72 2002-05-27 Release 1.20
73 - Started documenting Catalog Pruning and Recycling.
74   Added catmaintenance.html and recycling.html
75 - Fixed the query command bug.
76 - Implemented PID files to prevent two copies of Bacula
77   from running at the same time. Be sure you --with-pid-dir
78   points to a working directory.
79 - Modified ASSERT() to cause a segmentation violation. This
80   permits a core dump.
81 - Worked on gnome-console. It paints better, it tells you if it
82   is ready to accept a command or processing one, and it is
83   almost entirely GTK+ (rather than GNOME, I'm removing GNOME
84   a bit at a time).
85 - Limit to 100 the number of tape labeling errors in a single Job.
86 - Add some additional ASSERT()s to the database routines. I don't
87   like ASSERTs but they do catch bugs.
88 - Tested and debugged recycling of Volumes.  Needed to change
89   the Director-SD protocol slightly.
90 - Removed the experimental SIGHUP in the Director as it is a
91   potential source of errors.
92 - Added Level, Pool, Messages, and Storage keyword/value scanning
93   to the Schedule Run record.
94 - Improved printing of Schedule resources with "show schedules"
95 - Do not autoprune Jobs/Files if the Job errs.
96 - Updated newvol() to pass back the updated Media record.   
97 - Fixed the "update pool" command, which was broken during a much
98   earlier code reorganization.
99 - Improved a few of the pruning messages.
100 - Removed readline inclusions from gnome-console (hang over from console).
101 - Make Jmsg use daemon message handler if no message handler is defined.
102   This is always the case in the SD and FD.
103 - Started removing __PROTO(). With C++ prototypes are manditory, so why
104   keep around legacy code.
105 - Added a good deal of message internationalization -- more to be done.
106 - Move cached Path into mdb structure and use POOLMEM.
107 - Fix verify bug introduced last update causing incorrect diffs 
108   by turning off autopruning.
109 - Started adding code to distinguish Errors from Fatal Errors.
110 - Errors are now counted in message.c for a Job.
111 - More POOLMEM cleanups.
112 - Implemented Automatic pruning.
113 - Implemented Automatic recycling of Volumes.
114 - Added PruneJobs/Files/Volumes=yes or no to Job resource. If set,
115   it forces the specified pruning.
116 - Modified rwlock to accept multiple nested write lock
117   requests.
118 - Modified the cats directory to use the new rwlock mechanism
119   in place of P() and V(). 
120 - Defined db_lock(mdb) and db_unlock(mdb). They are in effect
121   transaction locks. 
122 - Add CVS Id's to most files.
123 - Made first cut at AutoPrune
124 - Added new autoprune file that is called at the end of
125   each Job. It then decides when and what to prune and
126   calls the UA prune routines.
127 - Modified Run (in Schedule resource) to permit overrides of
128   Level, Pool, Storage, and Messages. (not tested).
129 - Added more POOLMEM in place of char.
130 - Implemented daemon pid files. This prevents multiple 
131   daemons from running simultaneously. You can run multiple
132   daemons if they listen on different ports.
133 - Documented the Schedule resource a bit better.
134 - Began gently adding a POOLMEM type (perviously void).
135   For the moment it is a #define to char, but long term
136   it should be its own typedef.
137 - Corrected a bit of spacing on the status bar of gnome-console
138 - Added Admin and Archive Job types.
139 - Implemented multiple Messages resources. Each daemon has
140   its own message resource, which defaults if not defined.
141   Jobs may now have different message handlers.
142 - Cleaned up a bit of duplicate code in backup, verify, and
143   restore by creating appropriate subroutines in job.c
144 - Added Type, Client, FileSet, and Level resource record
145   definitions to the Director. These can be used in place
146   of the Backup = ..., Verify = ..., ... commands.  This needs
147   documenting.
148 - Corrected an incorrect message in the prune code and added
149   the number of Files pruned in the message.
150 - Corrected several paint problems with gnome-console.
151 - Added a bit of printout in signal handler during traceback.
152 - Cleaned up most of sm_check() to be turned on/off by define
153   in version.h
154
155 2002-05-10 Release 1.19
156 - Allow the user to select a new period for pruning.
157 - Lots of additions to the manual -- prune and purge
158   commands documented.
159 - Applied Phil's configure.in fix for --prefix, ...
160 - Fixed bug found by Phil (patch supplied) in updating
161   MD5 signatures (revert to 32 bit FileId, move "static"
162   variables into JCR) (catreq.c fd-cmds.c).
163 - Reverted to using INTEGER for FileId in make_sql_tables
164   due to a bug in MySQL.
165 - Change editing code to %d for FileId.
166 - Remove sqlite in make distclean in cats directory.
167 - Remove console.conf in console during make distclean.
168 - Remove gnome-console.conf during make distclean.
169 - Remove bacula-dir.conf during make distclean.
170 - Set default level when using Console if none specified.
171   Bug reported by Phil.
172 - A simple . command from Console is ignored.   
173 - Change program named from filed to bacual-fd in winmain.cpp
174 - Change default config file for Win32 in winmain.cpp
175 - Free namebuf on early return from find_one.c. Bug reported by Phil.
176 - Modify testfind.c to dump orphaned buffers.
177 - Removed terabytes from parse_conf.c because of problems with
178   older gcc compilers.
179 - Turn off gnome options in gnome-console by constructing empty argv.
180 - Fixes to Verify when only MD5 differs.
181 - Insert 0 for MD5 as default rather than space.
182 - Allow .messages "transparent" command while reading input
183   in UserAgent server.
184 - In dird/verify.c ensure that correct filename is printed if only
185   the MD5 differs. Minor reindenting caused large diff.
186 - Delete unused code from backup.c
187 - In filed/verify.c ensure that same algorithm as backup.c is used
188   to pass back MD5 signatures -- especially for directories and files
189   that cannot be read. Change dummy filename from X to *MD5-id*.
190   This dummy value should never be printed.
191 - Make gnome-console poll Director every 5 seconds for output.
192   This means that queued up messages are displayed at reasonable
193   intervals. Delete some unused code hanging around from the tty
194   console program.
195 - Begin implementation of prune commands.
196 - Add command line history to gnome-console. Not yet saved across sessions.
197 - Fixed some broken URLs in the manual.
198 - Added JobId type.
199 - Wrote first cut of "prune files" and "prune jobs".
200 - Added command line history to gnome-console 2500 lines max.
201 - Widened store_time() and associated variables to 64 bits using
202   new btime_t definition.
203 - Removed GNOME about box and replaced it with 
204   a somewhat crude Gtk+ about box in the gnome-console.
205 - Widened StartDay in the Job DB record to be 64 bits.
206 - Changed edit_uint_ to edit_uint64_ everywhere. Much more
207   descriptive of what is done.
208 - Removed most llds and replaced them with %s and edit_uint64.
209   This makes the code a bit easier to read for beginners.
210 - Added a btime_t typedef which is 64 bits wide.
211 - Added most of the code needed to do Purge and Prune of
212   database. Not yet tested. Please do not use.
213 - Additional config options for Console.
214 - Started adding code for Automatic Recycling of Volumes.
215 - Allow arbitrary length filenames in Verify code.
216 - Fix incorrect filename in Verify code.
217 - Significant enhancement to number scanning in config parser.
218 - Requires initializing MySQL tables, or applying cats/alter.sql
219   to modify Media table.
220 - Modified Makefile to printer a much more visible
221   message if the make ends in error.
222 - Added the Purge value to the VolStatus in the Media table.
223   This value is set if the Volume is purged.
224 - Enhanced the db_delete_media_record() routine to delete
225   all associated records in the database.
226 - Modified Console to always write to the variable "output"       
227   rather than stdout. This will permit directing output to a file.
228 - Enhanced the Console configuration file to have a Console 
229   resource. This will allow us to add an rcfile and history file.
230 - Modified Find_next_vol in catreq.c to search for "Recycle"
231   volumes if there are none marked Append. Also made Get_Vol_info
232   return the VolStatus to the Storage daemon.
233 - Allow upper/lower case match on job level names.
234 - Added another warning message to the Console "delete media" command.
235 - Corrected a number of FileId types from uint64_t to FileId_t in
236   ua_retention.c.
237 - In ua server close database before freeing JCR (because pointer is
238   kept in ua and jcr structures).
239 - parse all numbers as doubles. Do lots of checking for valid number
240   formats. Allow numbers in scientific form (e.g. 1.5e+10).
241 - Remove terabyte modifier as it doesn't work in some compilers.
242 - Fix bug in handling some modifiers.
243 - Added all necessary code for Recycle to Storage daemon. A Volume
244   marked Recycle will now be overwritten.
245 - Filled out the prune command a bit and did some testing.
246 - Make console accept redirected input.
247 - Altered the Table definitions to include Recycle,
248   FileRetention, JobRetention, and AutoPrune.
249 - Widened StartDay to 64 bits.
250 - Use JobId_t in more places. 
251 - Added the new table fields to the database record definitions.
252 - Changed Recycle from string to a binary quantity.
253 - Added a Version table with a VersionId to detect.
254   future changes in the database. This should prevent
255   a Bacula from working with a database that is not in sync.
256 - Modify Console to accept input from a file. This will permit
257   the .read command and allow reading a .rc file.
258 - Added new retention and recycle variables to the Director's configuration.
259 - The UA subroutines or commands can now be called from core
260   code because the output routines detect the absence of a 
261   UA socket and direct output to the Job.
262 - Added a verbose flage to the ua packet to permit reduction of
263   output while running a UA command (prune) from a Job.
264 - Did a fair amount of work on the prune command. Prune Volume now works.
265 - Purge Volume now works.
266 - Made last changes for integrating prune and purge commands.
267 - Add -ltermcap to CONS_LIBS when readline is configured.
268   More work to be done to search for termcap.
269 - Added cats/drop_sqlite_tables.in, which will delete the SQLite database.
270 - Got CWEB working so that we can compile filesys.w and immortal.w
271 - Modified depkgs to include cweb.             
272 - Note, CWEB is not yet used by the core Bacula code.
273 - Made cats/alter.sql, which alters an old database to bring it
274   up to the new format. This only works with MySQL since SQLite does
275   not have the ALTER SQL command.
276 - Changed the old StartDay field in the db to be JobTDate, which is
277   the latest time/date in widened Unix time format that the Job ran.
278   This value is used when doing pruning.
279 - Added code in cats/sql.c to verify that the database internal version
280   corresponds to the db version compiled in Bacula. It is set to 1 currently.
281 - Lots of changes to cats to bring the SQL up to date with the new 
282   retention period changes.
283 - Added Console command code to permit changing a Volume's retention period.
284 - Removed old code that used date_encode() and replaced it with widened
285   Unix time().
286 - Started modifying Message resource scanner so that we can have multiple
287   message resources. Much more work to be done.
288 - Moved scanning for time into new library routine string_to_btime().
289
290 2002-04-22 Release 1.18
291 - Applied Phil's configure.in fix for --prefix, ...
292 - Fixed bug found by Phil (patch supplied) in updating
293   MD5 signatures (revert to 32 bit FileId, move "static"
294   variables into JCR) (catreq.c fd-cmds.c).
295 - Reverted to using INTEGER for FileId in make_sql_tables
296   due to a bug in MySQL.
297 - Change editing code to %d for FileId.
298 - Remove sqlite in make distclean in cats directory.
299 - Remove console.conf in console during make distclean
300 - Remove gnome-console.conf during make distclean
301 - Remove bacula-dir.conf during make distclean
302 - Set default level when using Console if none specified.
303   Bug reported by Phil.
304 - A simple . command from Console is ignored.   
305 - Change program named from filed to bacual-fd in winmain.cpp
306 - Change default config file for Win32 in winmain.cpp
307 - Free namebuf on early return from find_one.c. Bug reported by
308   Phil.
309 - Modify testfind.c to dump orphaned buffers.
310 - Removed terabytes from parse_conf.c because of problems with
311   older gcc compilers.
312 - Turn off gnome options in gnome-console by constructing empty
313   argv.
314
315 2002-04-18 Release 1.17 Kern Sibbald
316 - Ensure that platforms Makefiles are called for clean  
317   and distclean.
318 - Hide a lot of Makefile messages with @
319 - Applied Phil's configure.in patch. Thanks.
320 - Doc updates, many to clarify points brought up by Phil.
321 - Applied Phil's make_mysql_tables.in patch. Thanks.
322 - Made authenticate.c in dird test bnet_send status.
323 - Make label a bit more friendly with extra info message.
324 - Add level 200 to debug info in run command.
325 - Remove old code from findlib/testfind.c so that it compiles.
326 - Add two minute max wait to cram-md5 authentication. Hopefully,
327   this will catch non-responding WinNT daemons.
328 - Allow time and size modifiers to be upper or lower case.
329 - Turn off old CYGWIN patch for pthread_cond_timedwait() bug that
330   now causes File daemon hangs on WinNT.
331 - Fix mount messages for restore. Previous updates to save
332   broke the restore code.
333 - By default write fixed block sizes rather than variable block
334   sizes.  My Sony DAT simply does not work (reread failures) with
335   variable block sizes.
336 - Data split across tapes was not being correctly restored
337   (at least on DAT tapes). 
338 - Implement MaximumBlockSize and MinumBlockSize statements in
339   Storage daemon so user can specify variable block sizes if
340   desired.
341 - Return error if block checksum error on read (previously 
342   ignored).
343 - Fixed some error messages in bls, and in some cases exit(1)
344   rather than ABORT. There remain ABORTs to be examined.
345 - Made a local copy of tcpd.h and corrected the function 
346   prototype problem for C++.
347
348 2002-04-14 First public release 1.16 Kern Sibbald
349  - Many intervening changes/updates.
350
351 2001-09-29 Release 1.0 Kern Sibbald
352  - Fixes to problems found at John's
353    installation.
354  - See techlogs/kes25Sep01 for details
355
356 2001-09-25 Release 1.0 Kern Sibbald
357  - Helped John install at his site.
358    He is backing up one Linux machine and
359    one Win2000 machine.
360
361 2001-mm-dd Many releases
362  - Released internally.
363   
364 2000-04-09 Release 0.4 Kern Sibbald
365  - Added a lot of Director configuration code. In      
366    part (a small part), the Director now uses the
367    bacula.conf file to know what to do. There still
368    remains a lot to do.
369  - The file search code is now integrated into the
370    MySQL database routines, and Bacula is now hooked
371    into the MySQL database (if so configured). Thus
372    all the database records are being created, though
373    there still remains some work in getting all the
374    details into the records (such as the Storage 
375    coordinates).
376  - I've defined how Volume pools work (see manual).
377  - I've defined error message handling though no code
378    is yet written.
379  - The following resources and records are implemented
380    in the Director configuration file (bacula.conf):
381     
382    Director
383      Name (passed to Storage daemon)
384    Client
385      Name, Address, Port
386      Password (not yet used)
387    Storage    
388      Name, Address, Port, Password, MediaType
389    Job
390      Name    
391      Type (not yet used)
392      Backup (only one permitted) 
393        Client, FileSet
394      Storage
395      Schedule, Messages, Pool (not used)
396    FileSet
397      Name  
398      Include (options ignored)
399      Exclude (no options)
400    Schedule (not used)
401      Name
402    Messages (not used)
403      Name       
404      Debug, syslog, mail, append (not used)
405    Catalog
406      Name
407      Address, Port, Password (not used)
408    Pool (not used)
409      Name
410      PoolType, MediaType (not used)
411
412  - Added Storage configuration routines.
413    Director
414      Name, password (verified against those sent by Director)
415    Storage
416      Name, Address, Port (address, port must correspond to Director's values)
417      Password, MediaType
418    Device
419      Name, MediaType (must correspond to those sent by Director)
420      Archive Device (defines device name)
421
422
423
424 2000-03-10 Release 0.3 Kern Sibbald
425  - Implemented new base64 encoding for attributes.
426    This eliminates some of the error messages in the
427    sprintfs on the Solaris due to different stat() sizes.
428  - Implemented  the first cut of the file search routines for
429    the File daemon.  The exclusion lists work including wild
430    cards.   There is a lot of work to be done, but the basic
431    structure is now in place (wild cards do not yet work for
432    the include).
433  - Completed writing the memory pool code.  Now I must
434    implement it in the daemons.
435  - Modified the bacula start/stop script so that it has a
436    better chance of working on SGI and Solaris.
437  - The catalog code has not been converted to the new file
438    search code.
439
440 2000-03-06 Release 0.2 Kern Sibbald
441  - Integrated John's fixes.
442  - Made Makefiles self configuring when Makefile.in is changed.
443  - Added a runit script in the top level that runs bacula
444  - Added a "bacula" script in the top level directory that
445    starts and stops the File daemon and the Storage daemon.
446
447 2000-03-03 Release 0.1 Kern Sibbald
448  - Basic Director, File, and Storage daemons.
449    Standalone Catalog services using MySQL
450
451 2000-01-22 Kern Sibbald
452    * Setup basic file structure with ./configure