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