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