1 Technical notes on version 1.23 07Jul02
6 - This documents what I did while on vacation.
7 - A fair amount of documentation.
8 - Implemented Verify Volume to Catalog (needs renaming)
9 - Modified the database to include new MarkId field as
10 well as Counters. Database level is incremented from 1 to 2.
11 - Added first cut of managing autochangers by implementing Slot in DB.
12 - Fixed a good number of M_ERROR messages to be M_FATAL where appropriate.
13 Also converted a number of Emsg() to Jmsg() permitting better Job error
15 - First cut at implementing a general packet passing mechanism for bsock
16 to replace printf and sscanf for passing data.
18 Changes submitted this submission:
19 - Made make_xxx_tables and drop_xxx_tables and create_xxx_database
20 for bdb as well as sqlite. With this each database has the
21 same set of scripts (with the exception that MySQL has grant_privileges).
22 - Modified Makefile to only install the database scripts for the
23 database that you are using.
24 - Updated the pdf script to include all the html files.
25 - Did quite a lot of documentation.
26 - Made Bacula compile correctly with DEBUG turned off.
27 - Implemented Pmsg() macros that permit using the debug print
28 routines even with DEBUG off.
29 - Updated job_cancelled() macro to handle JS_FatalError.
30 - Changed db_find_last_full_verify() to db_find_last_jobid(). This
31 permits working with Verify Volume to Catalog.
32 - Removed TRANSACTION code from incrementing NextId for SQLite.
33 - Implemented quick and dirty (not fully functional code) so that
34 console program does not die if ctl-Z is entered.
35 - Cleaned up backup.c a bit adding a bail_out goto to ensure proper
36 handling of errors with minimum code.
37 - Added passing Slot back and forth to Storage daemon with Volume info.
38 - Implemented Slot in Media record in DB.
39 - Implemented first cut of Counter resource in dird_conf.c. A counter
40 resource is part of the Pool resource.
41 - Implemented necessary database record. However, the resource doesn't
42 yet create a DB record.
43 - Implemented onefs (One File System) and recurse options on Include
45 - Implemented autopruning of Verify and Restore Jobs.
46 - Did a better job of calculating thread_concurrency() for Sun systems.
47 This permits better multi-threading allowing all the threads to run
49 - Implemented a wait_for_storage_daemon_termination(), which is used by
50 backup and verify volume.
51 - Clarified a number of UA prompts, and add feedback where certain commands
52 completed but printed nothing. (More work to be done here).
53 - Added a pile of new code to implement Verify Volume to Catalog. It is sort
54 of a hybrid of "restore" and "verify" in that it actually reads the tape,
55 then compares it to the catalog. Need Verify Volume to Client.
56 - Added a good number of checks for job_cancelled() this should permit
57 quicker and more reliable cancelling of jobs.
58 - Fixed one bug in restore where I used ofile instead of lname, which means
59 that if the lname was too long, the memory was not properly reallocated.
60 - Cleaned up find_one.c in findlib quite a bit.
61 - Link smtp static so that it works even if the libraries are messed up.
62 - If mail host is not found, retry with local host in smtp.
63 - Added slot and stream to the bootstrap record processing.
64 - Do offline on tape cartrige for unmount command. This can be turned off
65 by the user in the config file. OffLineOnUnmount in Device resource.
66 - Implemented AutoChanger = yes/no in Device resource.