]> git.wh0rd.org - dump.git/blame_incremental - CHANGES
Fix dump output message when using default level.
[dump.git] / CHANGES
... / ...
CommitLineData
1$Id: CHANGES,v 1.296 2009/06/18 09:35:14 stelian Exp $
2
3Changes between versions 0.4b41 and 0.4b42 (released xxxxxxxxxxxxxxx)
4=====================================================================
5
61. Fix printout of the 'Connection to' message in dump/restore.
7 Thanks to Dale Wiles <dwiles@users.sourceforge.net> for the
8 bug report and its fix.
9
102. Fix dump -w/-W output for filesystems having the last backup
11 level equal to 0. Thanks to Pascal Bouchareine
12 <kalou@users.sourceforge.net> for reporting the bug.
13
143. Enable restore to handle restoring onto a different SELinux
15 policy from the dump. Thanks to Tony Nelson
16 <tony_nelson@users.sourceforge.net> for the patch.
17 (see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189845
18 for details)
19
204. Fix EA set failures when restoring immutable files. Thanks
21 to Andrew Kroeger for the patch.
22
235. Fix "mode file too large" errors when restoring huge backups.
24 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
25 report.
26
276. Add the ability to link against libtinfo library if present,
28 instead of libtermcap or libncurses libraries. Thanks to
29 Adam Tkac <atkac@redhat.com> for the patch.
30
317. When comparing a backup, do not consider to be an error the fact
32 that we encounter files created while dump was in progress.
33 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
34 report.
35
368. Force '-a' to be the default value when running 'restore -C'.
37 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
38 report.
39
409. Many improvements to the 'cron_dump_to_disk' example.
41 Thanks to Aaron S. Hawley <ashawley@users.sourceforge.net> for
42 the patch.
43
4410. Fix the QFA generation when extended attributes are backuped
45 along with the inodes. Prior to this fix, the entries for
46 some inodes may get corrupted (duplicated entries or incorrect
47 ones), making the QFA file unusable for repositionning in
48 restore. Many thanks to Kenneth Porter <shiva@sewingwitch.com>
49 for the bug report and the testing of the fix.
50
5111. Fix EA restoration in debug mode (Sourceforge bug #1986216).
52
5312. Stefan Auracher <star7@onlinehome.de> noticed that the Tower
54 of Hanoi backup strategy documented in the man page wasn't
55 actually based on the Tower of Hanoi algorithm. The man page
56 was updated accordingly.
57
5813. Fix missing level information from dump output when using
59 the default level (RedHat bug #493635). Thanks to Adam Tkac
60 <atkac@redhat.com> for the patch.
61
62Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
63=====================================================================
64
651. Fix restore of dumped Access Control Lists. The previous
66 code for EA works fine, but ACLs needed conversion from the
67 ext2/3 disk format to posix_acl format before restoring.
68
692. Fix some issues with restoration of EA on big endian
70 platforms.
71
723. Fix restore when the symtab is over 2GB in size.
73
744. Made the directory hash indexing an optional feature,
75 accessible by the '-H' option of restore, and disable it
76 by default.
77
785. Fixed dump to not include extended attributes information
79 in the toc (archive) file which confused restore -t.
80
81Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
82=================================================================
83
841. Changed restore to emit warnings (instead of emitting a fatal
85 error) if a file (or a directory) is unavailable for a
86 comparision (if the user doesn't have the necessary permissions
87 to access it for example). Thanks to Kenneth Porter
88 <shiva@sewingwitch.com> for the bug report.
89
902. Re-done the 'do not save directory entries to non-dumped inodes
91 (excluded from dump)' feature. The previous implementation
92 worked well for excluded directories but not for regular files.
93 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
94 report.
95
963. Fixed a bug in dump where the tape size was miscalculated when
97 the user used -d/-s to specify the tape characteristics. Thanks
98 to Philip Goisman <goisman@physics.arizona.edu> for reporting
99 the bug.
100
1014. Fixed another bug introduced in restore with the hashtree
102 implementation. This one caused restore to stop saying
103 "removenode: non-empty directory" in some cases.
104
1055. Added support for dumping and restoring ext2/3 extended
106 attributes (EA), like the access control lists (ACL) or
107 the security labels used by SELinux.
108
109Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
110======================================================================
111
1121. The newly added dump_on_cd_3 example was buggy, replace it
113 with an updated version from Andrew Basterfield
114 <bob@cemetery.homeunix.org>.
115
1162. Made restore to chdir() back into the initial directory when
117 dumping core while aborting a comparision operation. The
118 previous behaviour was to write the corefile at the root of
119 the directory being compared, which could very well be
120 read only and preventing the corefile generation. Thanks
121 to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
122
1233. Silenced the failure to call fgetflags() when comparing an
124 entry which has no ext2 attributes (as in lsattr()).
125
1264. Fix a brown paper bug in restore -C which broke restore and
127 caused modifications on the filesystem being compared
128 (directories containing a file with the same name as the
129 directory get renamed to RSTTMP...). Thanks to Kenneth Porter
130 <shiva@sewingwitch.com> for finding the bug and helping me
131 reproduce it.
132
1335. Made restore -C force the -N flag (no writing allowed on
134 the disk) in order to prevent more bugs like the above one.
135
136Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
137=====================================================================
138
1391. Fix a couple of troff syntax bugs in the man pages.
140 Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
141
1422. Made restore use either libncurses or libtermcap, depending
143 on which one is available at configure time.
144
1453. Fixed restore negative size display bug when comparing a
146 dump containing files over 2GB. Thanks to Steve Bonds
147 <sbonds@users.sourceforge.net> for the bug report.
148
1494. Do not save directory entries to non-dumped inodes
150 (excluded from dump). This will eliminate the 'missing
151 file' warnings when doing 'restore -C'.
152
1535. Fix dump crash when backuping a huge (2TB) filesystem,
154 due to a bogus calculation on the inode map size.
155 Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for
156 submitting the bug and testing the fix.
157
1586. Fix a problem in restore where the final \0 in the symbolic
159 link names could have been lost, generating corrupt filenames.
160 Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
161 bug.
162
1637. Implemented a hash list for the directory names in restore.
164 The linear list used before caused problems in interactive
165 restores when dealing with directories having thousands of
166 entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
167 for reporting the bug.
168
1698. Improved restore -C, this time including the directory
170 attributes into the comparision.
171
1729. Made restore understand tapes containing EA/ACLs (which will
173 be dumped by the next version of dump). In this version
174 extended attributes on the tape are ignored, for full EA/ACL
175 support wait for the next version or try the experimental EA
176 patch.
177
178Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
179==================================================================
180
1811. Added the --enable-staticz configure option which enables
182 dump and restore to be linked with static versions of
183 libz and libbz2 (and dynamic versions of all other libraries).
184 This will make Debian users happy, because libz and libbz2
185 were the only needed libraries living in /usr, all the
186 others live in /lib. In case of system emergency, it is
187 better not to have to rely on an extra filesystem.
188 Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
189
1902. Fix compilation on (at least the Linux Debian port to) AMD64.
191 (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
192 that are also defined by <linux/types.h> (<asm/types.h>) and
193 they conflict).
194
1953. Make dump's reading of the dumpdates file a bit more robust,
196 preventing dump from crashing when the dumpdates file has
197 been modified by hand.
198
1994. Fixed some offset calculations in dump code which could
200 lead to "bread lseek errors" on large filesystems. Thanks
201 to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
202 reporting this bug and debugging the issue.
203
2045. Made dump use the blkid library when searching for devices
205 by label or uuid instead of dump's own routines.
206
2076. Corrected a bug in dump where a wrong LABEL=... line in
208 /etc/fstab could prevent dump from dumping unrelated
209 filesystems. Thanks to Bruce Lowekamp
210 <lowekamp@users.sourceforge.net> for reporting the bug.
211
212Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
213====================================================================
214
2151. Fixed dump compilation with old gcc versions. Thanks to
216 Mike Castle <dalgoda@users.sourceforge.net> for the patch.
217
2182. Fixed some warnings (howmany, roundup, powerof2 redefined)
219 when compiling against a recent glibc version.
220
2213. Fixed a bug in restore preventing the read of a dump tape
222 written with Solaris 7 ufsdump. Thanks to Patrick Higgins
223 <phiggins@transzap.com> for reporting the bug and providing
224 the test case.
225
2264. Changed dump to enable the creation of volumes of different
227 sizes in a single run (make -B accept a list of values).
228 Patch contributed by Florian Zumbiehl <florz@gmx.de>.
229
2305. Use the glibc provided minor() and major() macros instead
231 of our own bitmask implementation. This should be safe for
232 when the major/minor namespace will migrate to 32 bits.
233 Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
234 the bug.
235
2366. Made explicit in the dump man page that dump will not create
237 a remote file, it will only write to an already existing one.
238
2397. Another try at making size estimates better again.
240
2418. Put back the inconditional running of the end-of-tape
242 script which was changed in 0.434 to be run only when -M
243 or multiple -f were NOT specified. Some users rely on this
244 feature even when it is combined with -M/-f.
245
2469. Fixed restore when restoring huge backups (where rstdir...
247 temporary files are over 2GB). Thanks to
248 Raphael Jaffey <rjaffey@artic.edu> for reporting this,
249 debugging the issue and making the patch.
250
25110. Made restore understand FreeBSD UFS2 tapes. Thanks to
252 David <vrtin@users.sourceforge.net> for submitting the bug
253 and providing a test case.
254
25511. Made dump work with an arbitrary integer level (no more 10
256 levels only limitation). Thanks to Matthew
257 <msvincen@midway.uchicago.edu> for the patch.
258
259Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
260=======================================================================
261
2621. Added a note in the dump man page saying that the default
263 blocksize can be 32 if -d is used with a high density argument.
264 Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
265 for the patch.
266
2672. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
268 LDFLAGS environment variables. Thanks to Arcady Genkin
269 <antipode@users.sourceforge.net> for reporting the bug.
270
2713. Made -e/-E options of dump accept an unlimited number of inodes
272 to be excluded, rather than a hardcoded maximum. Thanks to
273 Dietrich Rothe <d-rothe@users.sourceforge.net> for the patch.
274
2754. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
276 and -D_USE_BSD_SIGNAL defines in configure in order to solve
277 64bit build problems because quad_t is redifined with a
278 different signature. Thanks to Mike Harris <mharris@redhat.com>
279 for reporting this bug.
280
2815. Made restore build on Solaris, making possible to
282 restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
283 <uwe@ugsoft.de> for the patch.
284
2856. Made an extension in the dump tape format capable of saving
286 MacOSX specific inode extensions. Uwe Gohlke <uwe@ugsoft.de>
287 wrote the extension and contributed the restore code back
288 into this codebase. The same extension mechanism will be
289 used in the future to save ACLs...
290
2917. Made rmt work correctly with regard to QFA and local/remote
292 files and tapes. The remote access will however work only
293 when the dump provided rmt version is used. If you want to
294 use another rmt server, please do not use the QFA feature.
295 Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
296
297Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
298====================================================================
299
3001. Fixed the INSTALL file to reflect the actual install paths.
301 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
302 reporting the bug.
303
3042. Fixed the configure script to only check for headers presence
305 instead of trying to compile them. This should fix issues
306 with old build environments. Thanks to Kari Lempiainen
307 <kari@funky.pp.fi> for reporting the bug.
308
3093. Fixed restore to correctly ignore sockets when comparing
310 a dump (as socket cannot be properly restored anyway). Thanks
311 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
312
3134. Fixed restore to correctly access the archive file (-A argument)
314 even when using a remote tape. Thanks to Fabrice Bellet
315 <fabrice@bellet.info> for reporting the bug.
316
3175. Fixed (again) handling of long (largefile) seeks in rmt.
318 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
319 the bug.
320
3216. Fixed restore corner case when dealing with large block sizes
322 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
323 <fabrice@bellet.info> for reporting the bug.
324
3257. Fixed a bug preventing dump to access a filesystem having
326 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
327 for reporting the bug.
328
3298. Made dump store dump dates using explicit timezones, fixing a
330 problem with incremental dumps if the timezone is modified
331 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
332 the bug report and the patch.
333
3349. Fixed a bug encountered when dumping individual files (not full
335 filesystems or directories) and dangling symbolic links happen
336 to be in the list of files. For as far as dump is concerned,
337 dangling symbolic links are allowed, and are dumped as is.
338 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
339 bug and providing the fix.
340
34110. Fixed open and creation modes and permissions for QFA and
342 table-of-contents files in dump and restore. Thanks to
343 Philippe Troin <phil@fifi.org> for the patch.
344
34511. Fixed the archive file descriptor handling enabling it to be 0.
346 This can happen in some cases when shell redirections are used.
347 Thanks to Philippe Troin <phil@fifi.org> for the patch.
348
34912. Delayed the opening of archive file until after suid had been
350 dropped (fixing a possible security issue if dump is suid).
351 Thanks to Philippe Troin <phil@fifi.org> for the patch.
352
35313. Fixed the 'S' command handling in the rmt client part.
354 Thanks to Philippe Troin <phil@fifi.org> for the patch.
355
35614. Modified the end-of-tape script handling to print out statistics
357 (and stop the timer) before launching the eot script. Also, the eot
358 script does not get run anymore when using -M (which makes sense) or
359 when multiple tapes are listed on the command line
360 (-f tape0,tape1,tapen) (which also makes sense).
361 Thanks to Philippe Troin <phil@fifi.org> for the patch.
362
36315. Relicensed dump/restore under the 'revised' BSD license, as per
364 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
365
36616. Added LZO compression to dump. This new compression method has
367 the advantage of being super fast, thus not killing tape streaming
368 on slow machines. Thanks to Helmut Jarausch
369 <jarausch@igpm.rwth-aachen.de> for the patch and to
370 Markus Oberhumer <markus@oberhumer.com> for giving special permission
371 to include his miniLZO project (GPL licensed) in dump/restore.
372
37317. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
374 <ant@notatla.demon.co.uk> for reporting the bugs.
375
37618. Added a special rmt version which can do encryption when writing
377 to tape. Read examples/encrypted_rmt/README for details on
378 how to enable and configure it. Thanks to Ken Lalonde
379 <ken@globalremit.com> for the patch.
380
38119. Made dump work with 2.5 kernel end of tape early warning semantics.
382 Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
383
38420. Fixed a bug which caused dump -w|-W not to work anymore, because
385 the fs_freq and fs_passno fields in /etc/mtab are always set
386 to 0 0. Thanks to Trent Piepho <xyzzy@speakeasy.org> for
387 reporting the bug.
388
389Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
390=======================================================================
391
3921. Added a note in the restore man page clarifying the question
393 'set the permissions on the current directory ?' asked by
394 restore at the end of treatment in -i and -x modes.
395
3962. Fixed the endianess issues when reading compressed tapes.
397 Thanks to Dark Force <daq4th@users.sourceforge.net> for
398 reporting this bug and providing test cases.
399
4003. Fixed the "ACL won't be dumped" warning message (which showed
401 an extra, unrelated error message). Thanks to Dragan Krnic
402 <dkrnic@lycos.com> for reporting this bug.
403
4044. Made dump look first into /etc/mtab, then into /etc/fstab
405 when searching for filesystem paths. Also fixed some problems
406 caused by binding mounts or multiple block device mounts.
407 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
408 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
409 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
410 and #160305, Sourceforge bugs #618699 and #679832).
411
4125. Made dump's -I option accept the value '0' meaning all the
413 read errors will be ignored. This can be useful when running
414 dump from unattended sessions (like cron jobs). Thanks to
415 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
416
4176. Fixed the output of dump to indicate 'blocks' instead of
418 'tape blocks' in the various messages (blocks are always
419 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
420 made it clearly print the current blocksize at the start of
421 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
422 the suggestions.
423
4247. Made rmt understand long (largefiles) seeks.
425
4268. Fixed build with very old versions of libext2fs, where
427 EXT2_FT_* constants were undefined.
428
4299. Made dump accept the dumpdates path on the command line
430 (-D file option) instead of using only the hardcoded one.
431 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
432 suggestion.
433
43410. Enabled rmt, LFS, readline, QFA options by default in
435 ./configure. Updated the configure process (new versions
436 of config.guess, config.sub etc).
437
438Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
439=======================================================================
440
4411. Changed dump to use fcntl(F_SETLK) style locking instead
442 of flock() when locking the dumpdates file. With the old
443 locking scheme, a local user having read rights on the
444 dumpdates file could be able to do a Denial of Service attack
445 on dump. In order to lock the dumpdates file with the new
446 scheme, the user would need to have write access on the file.
447 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
448 reporting the bug (originally a bugtraq post).
449
4502. Fixed interactive 'ls' which caused spurious errors warnings
451 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
452 <jorgen_ostling@users.sourceforge.net> for reporting this
453 bug.
454
4553. Fixed dump's estimate when dealing with sparse inodes.
456
4574. Modified dump to allow setting a blocksize bigger than 32kB
458 (raised the limit to 1024kB), because newer hardware needs
459 this for proper operation. Thanks to Dirk Traenapp
460 <dtraenapp@users.sourceforge.net> for reporting this.
461
4625. Fixed a bug causing Dump to stop and report an error if an
463 inode number in the exclude file was followed by some amount
464 of whitespace. Thanks to Jeffrey Sofferin
465 <sofferin@users.sourceforge.net> for reporting this bug.
466
4676. Fixed a bug which caused restore, in some particular cases,
468 to ask some 'scary' questions and leave a bunch of RSTTMP
469 directories behind when restoring incremental tapes. Thanks
470 to Philippe Troin <phil@fifi.org> for reporting this bug and
471 providing the test cases.
472
4737. Changed the wording when inodes are excluded from dump:
474 replaced 'Added inode 7 to exclude list' with
475 'Excluding inode 7 (resize inode) from dump', as suggested
476 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
477
478Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
479===================================================================
480
4811. Fixed rmt open flags transmission (GNU's symbolic syntax over
482 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
483 <eros@lamel.bo.cnr.it> for reporting the bug.
484
485Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
486===================================================================
487
4881. Made dump print out the ext2 logical block number in case of a read
489 error, which can be given as an argument to debugfs' ncheck command,
490 in order to find out the affected inode. Added note about this
491 usage in dump's man page.
492
4932. Fixed a problem in restore when reading tapes written on big
494 endian machines with very old versions of dump. The patch was
495 contributed by George Helffrich <george@geology.bristol.ac.uk>.
496
4973. Fixed the tape length calculation when using large tapes
498 and compression. Thanks to Georg Lippold
499 <g_lippold@sourceforge.net> for reporting the bug.
500
5014. Added a new set of examples in dump_on_cd_2 directory, based
502 on dump_on_cd examples but somewhat enhanced, supporting DVD
503 media, and localized in english and german. Thanks to
504 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
505
5065. Made dump save 32 bit UID/GID. Internally, this was achieved
507 by switching from the old BSD inode format to the new BSD
508 inode format, which means that the tape format was changed.
509 However, since all restore versions out there should
510 transparently support both inode formats, the change should
511 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
512 reporting the bug.
513
5146. Fixed a lot of warnings in the code shown when compiling
515 with 'gcc -W'. Thanks to Matthias Andree
516 <matthias.andree@stud.uni-dortmund.de> for reporting this.
517
5187. Fixed a small markup bug in the dump man page. Thanks to
519 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
520 patch.
521
5228. Rewrote entirely the man pages using the tmac.an macro
523 package (Linux man page format) instead of the original BSD
524 format. They should be now cleaner and easier to modify.
525
526Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
527==================================================================
528
5291. Fixed a problem in the rmt ioctl command, where ioctl's issued from
530 non Linux clients were misinterpreted. The description of the problem
531 (incompatible numbering in Linux mtio opcodes) is documented at
532 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
533