~ubuntu-branches/ubuntu/trusty/bacula-doc/trusty

« back to all changes in this revision

Viewing changes to techlogs/2004/RN-1.34.4

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2006-08-15 09:44:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060815094408-1kvvfls2hs3d9uw8
Tags: upstream-1.38.11.1
ImportĀ upstreamĀ versionĀ 1.38.11.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
          Release Notes for Bacula 1.34.4
 
3
 
 
4
  Bacula code: Total files = 364 Total lines = 103,481 (*.h *.c *.in)
 
5
 
 
6
Changes for 1.34.4:
 
7
Major Changes/Features:
 
8
- Implement | and < in FD for new FileSet files.
 
9
- Implement simplistic attribute spooling statistics in status.
 
10
- Make storage=xxx on restore override the restore default.
 
11
- Clear InChanger flag during "update barcodes" if no VolName present,
 
12
  i.e. no Volume in Changer.
 
13
- An update pulled in Christopher Hull's fixes to the client program          
 
14
  execution on Win32 to search the path and use COMSPEC.  New rules
 
15
  apply!
 
16
- In SD mount.c, if get I/O error or read label error on non-removable
 
17
  Volume, mark the volume in error and retry. 
 
18
- Apply Tim Oberfoell's ACL patch.
 
19
 
 
20
Items to note!!!!
 
21
- If you are upgrading from 1.32, please be sure to see the database
 
22
  upgrade procedure under the 1.34.0 notes.
 
23
- If your system has a libacl in the standard location, acl's will
 
24
  be enabled, and you can turn them on with "aclsupport=yes" as an
 
25
  Include or Option option.
 
26
 
 
27
Other Items:
 
28
- Enhance regression scripts.
 
29
- Implement bsscanf() because sscanf on FreeBSD amd64 stores
 
30
  in 64 bit words for %ld. Turned on for the moment only for
 
31
  FreeBSD amd64.
 
32
- Fix all conversions of ptr to int to use (long unsigned) this
 
33
  works on i386 and amd64.
 
34
- Add mtimeonly and keepatime to new Options list -- omitted before.
 
35
- Add a bit more authentication debug code.
 
36
- Start variable name/overload cleanup in SD
 
37
- Fix sscanf() in askdir.c scanning into bool to use local int.
 
38
- Make max_spool_size int to allow proper arithmetic.
 
39
- Remove trailing junk on sscanf() of "Hello Start Job" in SD.
 
40
- Make ask_sysop_to_mount_volume() always ask sysop.
 
41
- In SD mount.c, if get I/O error or read label error on non-removable
 
42
  Volume, mark the volume in error and retry. 
 
43
- In SD mount.c, if non-removable volume, never ask sysop to mount. We
 
44
  ask sysop if there are no appendable Volumes though.
 
45
- The above 3 items fix the looping error Bacula would get if the
 
46
  Volume was in the catalog but didn't exist -- or was zero bytes 
 
47
  long.
 
48
- Fix an uninitialized stack variable in append.c that caused data
 
49
  corruption on amd64 machines and *could* cause the same on other
 
50
  machines.
 
51
- Fix a seg fault in automatic tape labeling.
 
52
- Eliminate a PoolId=nn when zeroing the InChanger flag for a Volume.
 
53
- Add a bit more debug info to bls.c
 
54
- Fix UpdateDB to complain if mum_rows < 1 rather than != 1.
 
55
 
 
56
 
 
57
 
 
58
 
 
59
Changes for 1.34.3:
 
60
Major Features:
 
61
- Implemented and documented the first cut of the new FileSet directives.
 
62
  The first cut permits using wild-card matches for including files in
 
63
  addition to excluding files.    
 
64
- The Windows rescue procedure is confirmed for WinXP/2K (probably not NT).
 
65
- Modification of the PostgreSQL database creation scripts to improve
 
66
  performance by removing foreign keys.
 
67
- Use trasactions on PostgreSQL to improve performance.
 
68
- Restore jobs will now not start until they can get exclusive use
 
69
  of the Storage daemon Device previously they erred.
 
70
- Permit execution of more kinds of Win32 files with ClientRunxxxJob.
 
71
  If an absolute path is specified, the filename must contain the correct
 
72
  extention.
 
73
 
 
74
Items to note!!!!
 
75
- If you are upgrading from 1.32, please be sure to see the database
 
76
  upgrade procedure under the 1.34.0 notes.
 
77
- Although the daemons are compatible for all 1.34.2 features,
 
78
  the new FileSet directives are not compatible with 1.34.2 daemons.
 
79
- Fixed several query.sql bugs.
 
80
- The behavior of the hourly, daily, weekly, and monthly keywords in
 
81
  the Run directive have been changed to be more logical -- they only
 
82
  affect the one item mentioned rather than all items.
 
83
 
 
84
Other items:
 
85
- The wx-console has had significant improvements.
 
86
- Upgraded to latest autoconf files.
 
87
- Added BaculaRoadmap_v1.1.pdf in doc directory
 
88
- Fixed a crash in the btape "fill" command.
 
89
- Added a new alpha directory to platforms -- first cut.
 
90
- The mtx-changer script was broken in 1.34.2 -- it is now fixed.
 
91
- Pass all arguments on database creation scripts.
 
92
- I finally found and fixed the bug that in some cases required a double
 
93
  mount to get Bacula to look at the tape again.
 
94
- Thanks to user input corrected (I think) the negative values that
 
95
  sometimes occurred in the spooling statistics.
 
96
- Fixed several bsmpt bugs thanks to user input.
 
97
- Added user supplied code to read the Directors's conf file in dbcheck so
 
98
  that remote databases could be contacted as well as the working directory
 
99
  and other catalog parameters obtained.
 
100
- Fixed changing a Volume from one Pool to another in "update volumes".
 
101
 
 
102
 
 
103
 
 
104
 
 
105
 
 
106
 
 
107
 
 
108
 
 
109
 
 
110
Changes for 1.34.2:
 
111
Major Features:
 
112
- wx-console can now be built both under GTK and Win32. It is     
 
113
  now part of the Win32 binary release. It has a very nice tree
 
114
  oriented restore.  Thanks to Nicolas Boichat for this program.
 
115
- bconsole is now included in the Win32 binary release.
 
116
           
 
117
Items to note!!!
 
118
- bscan restored StartBlocks one block off resulting in loss of
 
119
  data if any bscanned volumes were restored. Thanks to Gregory
 
120
  for reporting this. It is fixed in this release.
 
121
- Due to an oversight, "Maximum Job Spool Size" was is not implemented.
 
122
  It will be in the next release.
 
123
- To build wx-console on Linux. Download wxWidgets 2.4.2 from wxwidgets.org,
 
124
  build and install it on your system, then add --enable-wx-console on
 
125
  your Bacula ./configure and it will be built and installed.  
 
126
- For both the Win32 and Linux GTK versions of wx-console, you must
 
127
  create a wx-console.conf in the current directory. The contents are
 
128
  identical to a bconsole.conf file.                        
 
129
 
 
130
Other items:
 
131
- Make SD utility programs accept device name as well as archive device
 
132
  on command line.
 
133
- Update docs
 
134
- Remove old debug code from Win32 FD.
 
135
- A new version of depkgs-win32 was released containing the Win32
 
136
  wxWidgets source code.
 
137
- Disable SIGHUP code in Director which is not yet complete.
 
138
 
 
139
 
 
140
Release 1.34.1:  
 
141
- Autochanger users, please note you must add %d to the end of the
 
142
  changer command line in your Device resource in your bacula-sd.conf
 
143
  file.
 
144
- There is a new wx-console program that does restores with a    
 
145
  tree allowing you to visually select what files are to be restored.
 
146
  It is in a preliminary stage of development, but can be easily
 
147
  be built under Linux with GTK, and with just a bit more difficulty
 
148
  under Win32 with MinGW.
 
149
- Fixed a major race condition in the job scheduler when multiple
 
150
  simultaneous jobs is enabled. This occurred only when on job had
 
151
  blocked another because of resource usage.
 
152
- Fixed crash in SD during restore.
 
153
- Changed the backup report to indicate "Backup OK -- with warnings
 
154
  if any warning messages were generated.
 
155
- Change output of restore report to indicate:
 
156
  "Restore OK -- warning file count mismatch"
 
157
- Make backup report say "Backup OK with warnings" if either FD or SD
 
158
  report any non-fatal errors.
 
159
- Modify bscan to print some elementary statistics (#Jobs, #Files, ...)
 
160
  added to catalog.
 
161
- Added --enable-wx-console and updated Makefile.in
 
162
- Fix mtx-changer so that the calling sequence is compatible
 
163
  with the previous version (the new one required arguments that
 
164
  were not necessarily used).
 
165
- Document how to use stunnel with Bacula.
 
166
- Fix crash in query command.
 
167
- Remove schedule from the default restore job.
 
168
- Fix data spooler to use min/max tape blocking factors.
 
169
- Automatically turn of conio if library not found instead of bombing.
 
170
- Cleaned up a lot of copyright dates.
 
171
- Try to keep spool statistics from going negative.
 
172
- Added new Pools chapter. Doc about using two disks.
 
173
- Attempt to keep the spool file statistics size from going
 
174
  negative.
 
175
- Fix the Director's Scheduled Jobs: list to have a ===
 
176
  termination.
 
177
- Fixed ./configure to disable readline rather than stop if
 
178
  readline.h is not found
 
179
- Fixed a typo in the SQLite database update script as reported
 
180
  by Robert J. Clark - thanks.
 
181
- Removed src/win32/pthreads and src/win32/zlib from the source
 
182
  tree.
 
183
- Created a new depkgs-win32 that has the pthreads and zlib source
 
184
  code.
 
185
- Removed the JobDefs from the default Restore job as it has a
 
186
  schedule. Thanks to Matt Howard for this.
 
187
 
 
188
 
 
189
 
 
190
Release 1.34.0
 
191
Major Features:
 
192
- Data spooling which reduces tape shoe-shine during Inc backups,         
 
193
  and permits multiple simultaneous backups without interleaved blocks.
 
194
- Native Win32 client -- much faster and restores permissions correctly
 
195
  (thanks to Christopher Hull)
 
196
- New Windows style installer for the Win32 Client.
 
197
- PostgreSQL database driver (thanks to Dan Langille).
 
198
- Polling of devices eliminating need to unmount and mount from
 
199
  console.
 
200
- Improved Autochange support of Slots (update slots scan).
 
201
- Autochanger support for multiple drives (I think).
 
202
- New conio code to implement Console command line editing and history.
 
203
- JobDefs resource permits smaller .conf files for Director
 
204
- Access console lists for the Console
 
205
- Pool level overrides.
 
206
- Daemon "status" is recovered across daemon executions.
 
207
- Improved btape "test" and "fill" commands.
 
208
 
 
209
 
 
210
Items to note:  !!!!!
 
211
- If you have a RedHat system, be sure to delete the /lib/tls
 
212
  directory from your system. It contains defective pthreads code.
 
213
- The restore default is changed to have nothing selected by default.
 
214
  You must either enter: "restore all" or after getting into the tree
 
215
  selection prompt enter "mark *" to have everything selected.
 
216
- In previous versions the "all" keyword on the restore command caused
 
217
  it to return without user interaction after selecting everything. 
 
218
  This function is now replaced by the "done" keyword (more logical).
 
219
  The "all" keyword now causes everything to be selected by default.
 
220
- The default tape driver behavior is now to write only a single EOF
 
221
  at the end of the tape. For most tape drives, this is totally            
 
222
  transparent and nothing needs to be done. For FreeBSD see below.
 
223
- FreeBSD users NOTE!!!!!
 
224
  You may need the following two records to your SD Device resource for
 
225
  tape drives.
 
226
 
 
227
     TWOEOF = yes
 
228
     Fast Forward Space File = no
 
229
 
 
230
  The "Fast Forward Space File" is surely needed, and the TWOEOF          
 
231
  is needed on some systems and not others. Running the btape
 
232
  "test" command will tell you. If you get an error with TWOEOF set   
 
233
  to yes, set it to no.
 
234
 
 
235
- If you want either bsmtp or bconsole on Win32, you will need
 
236
  to load the 1.32 version along with cygwin1.dll. Some solution
 
237
  for this will be forthcoming in a future update.
 
238
- The daemon protocol has changed from version 1.32, you must update 
 
239
  everything at once.
 
240
- The database level has been updated. You must either re-initialize
 
241
  your databases with:
 
242
   
 
243
    ./drop_bacula_tables
 
244
    ./make_bacula_tables
 
245
 
 
246
  which will delete ALL prior catalog information, or you can
 
247
  update your 1.32 database with:
 
248
 
 
249
    ./update_bacula_tables
 
250
 
 
251
  Please save your old database before dropping the tables or doing
 
252
  an upgrade or you may regret it later.
 
253
- If you are updating versions older than 1.32, you can look in
 
254
  the updatedb directory for scripts that you can use. You will need
 
255
  to manually set the paths for your system.
 
256
 
 
257
- smtp has now become bsmtp -- you *must* modify your .conf files.
 
258
- console has now become bconsole.
 
259
- console.conf is now bconsole.conf
 
260
- Please don't underestimate the repercussions of the bsmtp and bconsole 
 
261
  name changes!
 
262
 
 
263
 
 
264
New directives:
 
265
- "Close on Poll = yes/no" in SD Device resource.
 
266
- "Volume Poll Interval = time-interval" in SD Device resource.
 
267
- "Two EOF = yes/no" in SD Device resource.
 
268
- "Maximum Network Buffer Size = size" in SD Device resource.
 
269
- "Maximum Network Buffer Size = size" in FD FileDaemon (or Client) resource.
 
270
- "Console" new resource in Director conf file.
 
271
     New directives: Name, Description, Password, JobACL, ClientACL,
 
272
        StorageACL, ScheduleACL, RunACL, PoolACL, CommandACL,
 
273
        FileSetACL, CatalogACL.
 
274
- "Max Run Time = duration" in Director Job resource.
 
275
- "Max Wait Time = duration" in Director Job resource (not fully implemented).
 
276
- "JobDefs = name-of-resource" in Director Job resource.
 
277
- "Jobdefs" new resource in Director. Same directives as for a Job.
 
278
- "Full Backup Pool = xxx" in Job resource in the Director.
 
279
- "Incremental Backup Pool = xxx" in Job resource in the Director.
 
280
- "Differential Backup Pool = xxx" in Job resource in the Director.
 
281
- Three new options on the Run override statement in a Schedule resource:
 
282
   FullPool=xxx
 
283
   IncrementalPool=xxx
 
284
   DifferentialPool=xxx
 
285
- SpoolData=yes/no in DIR Job resource
 
286
- SpoolData=yes/no in Run override directive.
 
287
- MaximumSpoolSize in SD Device resource
 
288
- MaximumJobSpoolSize in SD Device resource
 
289
- SpoolDirectory in SD Device resource.
 
290
- Drive Index in SD Device resource for using two autochanger
 
291
  drives.
 
292
- mtimeonly=yes/no on Include directive.
 
293
- keepatime=yes/no on Include directive.
 
294
 
 
295
New Commands:
 
296
- "SetIP"
 
297
- Added "pool=xxx" to restore command line.
 
298
- Added "fileset=xxx" to restore command line.
 
299
- Fixed "storage=xxx" on restore command line.
 
300
- "markdir" command in restore tree.
 
301
- "unmarkdir" command in restore tree.
 
302
- "quit" command in restore tree.
 
303
- Trace option on "setdebug trace=1/0 ..."
 
304
- Update slots scan
 
305
- The "all" keyword on the restore command marks all files by default.
 
306
- The "done" keyword prevents user interaction with the tree -- used
 
307
  mostly for batch scripting.
 
308
 
 
309
 
 
310
Additional changes:
 
311
- Slackware support
 
312
- On multiple ctl-c, exit from console quickly.
 
313
- Implement "delete job jobid=xxx jobid=yyy ..."
 
314
- Implement "purge volume=xxx volume=yyy ..."
 
315
- Add -p option to all SD programs including bacula-sd. It causes
 
316
  Bacula to proceed or forge on in case of I/O errors. It is unlikely
 
317
  this will help, and it is strongly recommended against running
 
318
  the daemon with this option in production.
 
319
- Add a missing unlock in the jobq handler.
 
320
- Fix bug where a soft linked file and a directory had the same name
 
321
  by treating the soft link as a directory and putting the entries under
 
322
  it. This fixes the bug reported by Alexander Mueller.
 
323
- Apply Jess Guardiani's second fix to list autochanger volumes without
 
324
  opening the drive (necessary on FreeBSD if no tape is in the drive).
 
325
- Reworked the command line handler in restore to walk through the
 
326
  arguments one at a time. This makes the file= entries work correctly.
 
327
  Also reworked the code that takes the MediaType and finds a 
 
328
  storage device.
 
329
- Add quit command to restore tree handler.
 
330
- Make restore tree handler remember if a hard link is present, and
 
331
  in doing a mark, only get database entry if there is a hard link.
 
332
  mark commands thus run at least 2 orders of magnitude faster.
 
333
- Add files=xxx field to run command submitted for restore.   
 
334
- Add yes to restore run command if either yes or run is command line
 
335
  argument.
 
336
- Make "yes" on command line argument skip prompt for modification of
 
337
  run job.
 
338
- Add markdir and unmarkdir -- both affect only the directory in
 
339
  question and do not do a recursive descent.
 
340
- Make tree command automatically mark all higher level directories to
 
341
  be restored when a directory or a file is selected.  Such directories
 
342
  are indicated by preceding the name with a + to indicate that only
 
343
  the directory entry is selected and not the whole directory tree.
 
344
- Modify a few tree commands to walk through all arguments rather than
 
345
  just taking the first one.
 
346
- Improved btape "test" and "fill" commands.
 
347
- The ability to ask the Storage daemon on a device by device basis
 
348
  to "poll" the tape drive at a given interval (minimum 1 minute). If
 
349
  a tape is found, its label is read and if appropriate it is used.
 
350
  This eliminates the need to do "mount" commands.
 
351
- The ability to close and re-open the device when a poll occurs. 
 
352
  This permits dealing with certain recalcitrant autochangers that
 
353
  invalidate devices (typically on FreeBSD).
 
354
- Dan Langille has written a PostgreSQL driver for Bacula.
 
355
- Implement "update slots scan" that reads the volume label(s).
 
356
- The full form of the scan is "scan=1,2,4-5,7". With no specification,
 
357
  all occupied slots are scanned.
 
358
- Turn off changer Volumes that are not current in the changer when
 
359
  an "update slots" is done, or if any tape operation discovers that
 
360
  the right volume is not in the slot.
 
361
- The console program will run all commands it finds in ~/.bconsolerc
 
362
  at startup.
 
363
- Add Dan Langille's changes to the bacula start/stop script that 
 
364
  permit dropping root permissions just after startup.
 
365
- New version 1.5.5-1 Cygwin.
 
366
- Modify SD to update the catalog database when it is shutdown,
 
367
  even if the job is canceled.
 
368
- Fixed seg fault in restore of multiple simultaneous jobs to 
 
369
  a single Volume.
 
370
- Fixed thread race problem in multiple simultaneous jobs to
 
371
  a single Volume where the volume label is not in the first 
 
372
  tape block, so the tape is not recognized.
 
373
- Restore directory tree automatically selects all higher level
 
374
  directories to be restored.
 
375
- Implement conio.c to use in console program -- mini-readline.
 
376
- Enhance "fill" command of btape -- simpler output. Use -v to
 
377
  cause last block to be dumped after write and after re-read.
 
378
- Added an autochanger test to the btape "test" command. It is 
 
379
  automatically invoked if the autochanger is properly configured.  It
 
380
  is still a bit primitive but covers the essential of testing
 
381
  the mtx-changer script with your autochanger.
 
382
- Select the oldest LastWritten volume during recycling.
 
383
- Added forward space file test to btape "test" command.
 
384
- All 1.32d patches applied.
 
385
- Fixed seg fault in restore of multiple simultaneous jobs to 
 
386
  a single Volume.
 
387
- Fixed thread race problem in multiple simultaneous jobs to
 
388
  a single Volume where the volume lable is not in the first 
 
389
  tape block, so the tape is not recognized.