]> git.sur5r.net Git - bacula/docs/blob - docs/techlogs/2004/RN-1.34
Initial revision
[bacula/docs] / docs / techlogs / 2004 / RN-1.34
1
2           Release Notes for Bacula 1.34.0
3
4   Bacula code: Total files = 306 Total lines = 91,131 (*.h *.c *.in)
5
6 Major Features:
7 - Data spooling which reduces tape shoe-shine during Inc backups,         
8   and permits multiple simultaneous backups without interleaved blocks.
9 - Native Win32 client -- much faster and restores permissions correctly
10   (thanks to Christopher Hull)
11 - New Windows style installer for the Win32 Client.
12 - PostgreSQL database driver (thanks to Dan Langille).
13 - Polling of devices eliminating need to unmount and mount from
14   console.
15 - Improved Autochange support of Slots (update slots scan).
16 - Autochanger support for multiple drives (I think).
17 - New conio code to implement Console command line editing and history.
18 - JobDefs resource permits smaller .conf files for Director
19 - Access console lists for the Console
20 - Pool level overrides.
21 - Daemon "status" is recovered across daemon executions.
22 - Improved btape "test" and "fill" commands.
23
24
25 Items to note:  !!!!!
26 - If you have a RedHat system, be sure to delete the /lib/tls
27   directory from your system. It contains defective pthreads code.
28 - The restore default is changed to have nothing selected by default.
29   You must either enter: "restore all" or after getting into the tree
30   selection prompt enter "mark *" to have everything selected.
31 - In previous versions the "all" keyword on the restore command caused
32   it to return without user interaction after selecting everything. 
33   This function is now replaced by the "done" keyword (more logical).
34   The "all" keyword now causes everything to be selected by default.
35 - The default tape driver behavior is now to write only a single EOF
36   at the end of the tape. For most tape drives, this is totally            
37   transparent and nothing needs to be done. For FreeBSD see below.
38 - FreeBSD users NOTE!!!!!
39   You may need the following two records to your SD Device resource for
40   tape drives.
41
42      TWOEOF = yes
43      Fast Forward Space File = no
44
45   The "Fast Forward Space File" is surely needed, and the TWOEOF          
46   is needed on some systems and not others. Running the btape
47   "test" command will tell you. If you get an error with TWOEOF set   
48   to yes, set it to no.
49
50 - If you want either bsmtp or bconsole on Win32, you will need
51   to load the 1.32 version along with cygwin1.dll. Some solution
52   for this will be forthcoming in a future update.
53 - The daemon protocol has changed from version 1.32, you must update 
54   everything at once.
55 - The database level has been updated. You must either re-initialize
56   your databases with:
57    
58     ./drop_bacula_tables
59     ./make_bacula_tables
60
61   which will delete ALL prior catalog information, or you can
62   update your 1.32 database with:
63
64     ./update_bacula_tables
65
66   Please save your old database before dropping the tables or doing
67   an upgrade or you may regret it later.
68 - If you are updating versions older than 1.32, you can look in
69   the updatedb directory for scripts that you can use. You will need
70   to manually set the paths for your system.
71
72 - smtp has now become bsmtp -- you *must* modify your .conf files.
73 - console has now become bconsole.
74 - console.conf is now bconsole.conf
75 - Please don't underestimate the repercussions of the bsmtp and bconsole 
76   name changes!
77
78
79 New directives:
80 - "Close on Poll = yes/no" in SD Device resource.
81 - "Volume Poll Interval = time-interval" in SD Device resource.
82 - "Two EOF = yes/no" in SD Device resource.
83 - "Maximum Network Buffer Size = size" in SD Device resource.
84 - "Maximum Network Buffer Size = size" in FD FileDaemon (or Client) resource.
85 - "Console" new resource in Director conf file.
86      New directives: Name, Description, Password, JobACL, ClientACL,
87         StorageACL, ScheduleACL, RunACL, PoolACL, CommandACL,
88         FileSetACL, CatalogACL.
89 - "Max Run Time = duration" in Director Job resource.
90 - "Max Wait Time = duration" in Director Job resource (not fully implemented).
91 - "JobDefs = name-of-resource" in Director Job resource.
92 - "Jobdefs" new resource in Director. Same directives as for a Job.
93 - "Full Backup Pool = xxx" in Job resource in the Director.
94 - "Incremental Backup Pool = xxx" in Job resource in the Director.
95 - "Differential Backup Pool = xxx" in Job resource in the Director.
96 - Three new options on the Run override statement in a Schedule resource:
97    FullPool=xxx
98    IncrementalPool=xxx
99    DifferentialPool=xxx
100 - SpoolData=yes/no in DIR Job resource
101 - SpoolData=yes/no in Run override directive.
102 - MaximumSpoolSize in SD Device resource
103 - MaximumJobSpoolSize in SD Device resource
104 - SpoolDirectory in SD Device resource.
105 - Drive Index in SD Device resource for using two autochanger
106   drives.
107 - mtimeonly=yes/no on Include directive.
108 - keepatime=yes/no on Include directive.
109
110 New Commands:
111 - "SetIP"
112 - Added "pool=xxx" to restore command line.
113 - Added "fileset=xxx" to restore command line.
114 - Fixed "storage=xxx" on restore command line.
115 - "markdir" command in restore tree.
116 - "unmarkdir" command in restore tree.
117 - "quit" command in restore tree.
118 - Trace option on "setdebug trace=1/0 ..."
119 - Update slots scan
120 - The "all" keyword on the restore command marks all files by default.
121 - The "done" keyword prevents user interaction with the tree -- used
122   mostly for batch scripting.
123
124
125 Additional changes:
126 - Slackware support
127 - On multiple ctl-c, exit from console quickly.
128 - Implement "delete job jobid=xxx jobid=yyy ..."
129 - Implement "purge volume=xxx volume=yyy ..."
130 - Add -p option to all SD programs including bacula-sd. It causes
131   Bacula to proceed or forge on in case of I/O errors. It is unlikely
132   this will help, and it is strongly recommended against running
133   the daemon with this option in production.
134 - Add a missing unlock in the jobq handler.
135 - Fix bug where a soft linked file and a directory had the same name
136   by treating the soft link as a directory and putting the entries under
137   it. This fixes the bug reported by Alexander Mueller.
138 - Apply Jess Guardiani's second fix to list autochanger volumes without
139   opening the drive (necessary on FreeBSD if no tape is in the drive).
140 - Reworked the command line handler in restore to walk through the
141   arguments one at a time. This makes the file= entries work correctly.
142   Also reworked the code that takes the MediaType and finds a 
143   storage device.
144 - Add quit command to restore tree handler.
145 - Make restore tree handler remember if a hard link is present, and
146   in doing a mark, only get database entry if there is a hard link.
147   mark commands thus run at least 2 orders of magnitude faster.
148 - Add files=xxx field to run command submitted for restore.   
149 - Add yes to restore run command if either yes or run is command line
150   argument.
151 - Make "yes" on command line argument skip prompt for modification of
152   run job.
153 - Add markdir and unmarkdir -- both affect only the directory in
154   question and do not do a recursive descent.
155 - Make tree command automatically mark all higher level directories to
156   be restored when a directory or a file is selected.  Such directories
157   are indicated by preceding the name with a + to indicate that only
158   the directory entry is selected and not the whole directory tree.
159 - Modify a few tree commands to walk through all arguments rather than
160   just taking the first one.
161 - Improved btape "test" and "fill" commands.
162 - The ability to ask the Storage daemon on a device by device basis
163   to "poll" the tape drive at a given interval (minimum 1 minute). If
164   a tape is found, its label is read and if appropriate it is used.
165   This eliminates the need to do "mount" commands.
166 - The ability to close and re-open the device when a poll occurs. 
167   This permits dealing with certain recalcitrant autochangers that
168   invalidate devices (typically on FreeBSD).
169 - Dan Langille has written a PostgreSQL driver for Bacula.
170 - Implement "update slots scan" that reads the volume label(s).
171 - The full form of the scan is "scan=1,2,4-5,7". With no specification,
172   all occupied slots are scanned.
173 - Turn off changer Volumes that are not current in the changer when
174   an "update slots" is done, or if any tape operation discovers that
175   the right volume is not in the slot.
176 - The console program will run all commands it finds in ~/.bconsolerc
177   at startup.
178 - Add Dan Langille's changes to the bacula start/stop script that 
179   permit dropping root permissions just after startup.
180 - New version 1.5.5-1 Cygwin.
181 - Modify SD to update the catalog database when it is shutdown,
182   even if the job is canceled.
183 - Fixed seg fault in restore of multiple simultaneous jobs to 
184   a single Volume.
185 - Fixed thread race problem in multiple simultaneous jobs to
186   a single Volume where the volume label is not in the first 
187   tape block, so the tape is not recognized.
188 - Restore directory tree automatically selects all higher level
189   directories to be restored.
190 - Implement conio.c to use in console program -- mini-readline.
191 - Enhance "fill" command of btape -- simpler output. Use -v to
192   cause last block to be dumped after write and after re-read.
193 - Added an autochanger test to the btape "test" command. It is 
194   automatically invoked if the autochanger is properly configured.  It
195   is still a bit primitive but covers the essential of testing
196   the mtx-changer script with your autochanger.
197 - Select the oldest LastWritten volume during recycling.
198 - Added forward space file test to btape "test" command.
199 - All 1.32d patches applied.
200 - Fixed seg fault in restore of multiple simultaneous jobs to 
201   a single Volume.
202 - Fixed thread race problem in multiple simultaneous jobs to
203   a single Volume where the volume lable is not in the first 
204   tape block, so the tape is not recognized.