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