]> git.wh0rd.org - dump.git/blame_incremental - CHANGES
Fix the default dump level in man page (0 not 9)
[dump.git] / CHANGES
... / ...
CommitLineData
1$Id: CHANGES,v 1.297 2009/06/18 09:36:52 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
6214. Fix the dump man page to reflect the fact that the default
63 dump level is 0 not 9 (RedHat bug #356121). Thanks to Adam Tkac
64 <atkac@redhat.com> for the patch.
65
66Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
67=====================================================================
68
691. Fix restore of dumped Access Control Lists. The previous
70 code for EA works fine, but ACLs needed conversion from the
71 ext2/3 disk format to posix_acl format before restoring.
72
732. Fix some issues with restoration of EA on big endian
74 platforms.
75
763. Fix restore when the symtab is over 2GB in size.
77
784. Made the directory hash indexing an optional feature,
79 accessible by the '-H' option of restore, and disable it
80 by default.
81
825. Fixed dump to not include extended attributes information
83 in the toc (archive) file which confused restore -t.
84
85Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
86=================================================================
87
881. Changed restore to emit warnings (instead of emitting a fatal
89 error) if a file (or a directory) is unavailable for a
90 comparision (if the user doesn't have the necessary permissions
91 to access it for example). Thanks to Kenneth Porter
92 <shiva@sewingwitch.com> for the bug report.
93
942. Re-done the 'do not save directory entries to non-dumped inodes
95 (excluded from dump)' feature. The previous implementation
96 worked well for excluded directories but not for regular files.
97 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
98 report.
99
1003. Fixed a bug in dump where the tape size was miscalculated when
101 the user used -d/-s to specify the tape characteristics. Thanks
102 to Philip Goisman <goisman@physics.arizona.edu> for reporting
103 the bug.
104
1054. Fixed another bug introduced in restore with the hashtree
106 implementation. This one caused restore to stop saying
107 "removenode: non-empty directory" in some cases.
108
1095. Added support for dumping and restoring ext2/3 extended
110 attributes (EA), like the access control lists (ACL) or
111 the security labels used by SELinux.
112
113Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
114======================================================================
115
1161. The newly added dump_on_cd_3 example was buggy, replace it
117 with an updated version from Andrew Basterfield
118 <bob@cemetery.homeunix.org>.
119
1202. Made restore to chdir() back into the initial directory when
121 dumping core while aborting a comparision operation. The
122 previous behaviour was to write the corefile at the root of
123 the directory being compared, which could very well be
124 read only and preventing the corefile generation. Thanks
125 to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
126
1273. Silenced the failure to call fgetflags() when comparing an
128 entry which has no ext2 attributes (as in lsattr()).
129
1304. Fix a brown paper bug in restore -C which broke restore and
131 caused modifications on the filesystem being compared
132 (directories containing a file with the same name as the
133 directory get renamed to RSTTMP...). Thanks to Kenneth Porter
134 <shiva@sewingwitch.com> for finding the bug and helping me
135 reproduce it.
136
1375. Made restore -C force the -N flag (no writing allowed on
138 the disk) in order to prevent more bugs like the above one.
139
140Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
141=====================================================================
142
1431. Fix a couple of troff syntax bugs in the man pages.
144 Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
145
1462. Made restore use either libncurses or libtermcap, depending
147 on which one is available at configure time.
148
1493. Fixed restore negative size display bug when comparing a
150 dump containing files over 2GB. Thanks to Steve Bonds
151 <sbonds@users.sourceforge.net> for the bug report.
152
1534. Do not save directory entries to non-dumped inodes
154 (excluded from dump). This will eliminate the 'missing
155 file' warnings when doing 'restore -C'.
156
1575. Fix dump crash when backuping a huge (2TB) filesystem,
158 due to a bogus calculation on the inode map size.
159 Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for
160 submitting the bug and testing the fix.
161
1626. Fix a problem in restore where the final \0 in the symbolic
163 link names could have been lost, generating corrupt filenames.
164 Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
165 bug.
166
1677. Implemented a hash list for the directory names in restore.
168 The linear list used before caused problems in interactive
169 restores when dealing with directories having thousands of
170 entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
171 for reporting the bug.
172
1738. Improved restore -C, this time including the directory
174 attributes into the comparision.
175
1769. Made restore understand tapes containing EA/ACLs (which will
177 be dumped by the next version of dump). In this version
178 extended attributes on the tape are ignored, for full EA/ACL
179 support wait for the next version or try the experimental EA
180 patch.
181
182Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
183==================================================================
184
1851. Added the --enable-staticz configure option which enables
186 dump and restore to be linked with static versions of
187 libz and libbz2 (and dynamic versions of all other libraries).
188 This will make Debian users happy, because libz and libbz2
189 were the only needed libraries living in /usr, all the
190 others live in /lib. In case of system emergency, it is
191 better not to have to rely on an extra filesystem.
192 Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
193
1942. Fix compilation on (at least the Linux Debian port to) AMD64.
195 (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
196 that are also defined by <linux/types.h> (<asm/types.h>) and
197 they conflict).
198
1993. Make dump's reading of the dumpdates file a bit more robust,
200 preventing dump from crashing when the dumpdates file has
201 been modified by hand.
202
2034. Fixed some offset calculations in dump code which could
204 lead to "bread lseek errors" on large filesystems. Thanks
205 to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
206 reporting this bug and debugging the issue.
207
2085. Made dump use the blkid library when searching for devices
209 by label or uuid instead of dump's own routines.
210
2116. Corrected a bug in dump where a wrong LABEL=... line in
212 /etc/fstab could prevent dump from dumping unrelated
213 filesystems. Thanks to Bruce Lowekamp
214 <lowekamp@users.sourceforge.net> for reporting the bug.
215
216Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
217====================================================================
218
2191. Fixed dump compilation with old gcc versions. Thanks to
220 Mike Castle <dalgoda@users.sourceforge.net> for the patch.
221
2222. Fixed some warnings (howmany, roundup, powerof2 redefined)
223 when compiling against a recent glibc version.
224
2253. Fixed a bug in restore preventing the read of a dump tape
226 written with Solaris 7 ufsdump. Thanks to Patrick Higgins
227 <phiggins@transzap.com> for reporting the bug and providing
228 the test case.
229
2304. Changed dump to enable the creation of volumes of different
231 sizes in a single run (make -B accept a list of values).
232 Patch contributed by Florian Zumbiehl <florz@gmx.de>.
233
2345. Use the glibc provided minor() and major() macros instead
235 of our own bitmask implementation. This should be safe for
236 when the major/minor namespace will migrate to 32 bits.
237 Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
238 the bug.
239
2406. Made explicit in the dump man page that dump will not create
241 a remote file, it will only write to an already existing one.
242
2437. Another try at making size estimates better again.
244
2458. Put back the inconditional running of the end-of-tape
246 script which was changed in 0.434 to be run only when -M
247 or multiple -f were NOT specified. Some users rely on this
248 feature even when it is combined with -M/-f.
249
2509. Fixed restore when restoring huge backups (where rstdir...
251 temporary files are over 2GB). Thanks to
252 Raphael Jaffey <rjaffey@artic.edu> for reporting this,
253 debugging the issue and making the patch.
254
25510. Made restore understand FreeBSD UFS2 tapes. Thanks to
256 David <vrtin@users.sourceforge.net> for submitting the bug
257 and providing a test case.
258
25911. Made dump work with an arbitrary integer level (no more 10
260 levels only limitation). Thanks to Matthew
261 <msvincen@midway.uchicago.edu> for the patch.
262
263Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
264=======================================================================
265
2661. Added a note in the dump man page saying that the default
267 blocksize can be 32 if -d is used with a high density argument.
268 Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
269 for the patch.
270
2712. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
272 LDFLAGS environment variables. Thanks to Arcady Genkin
273 <antipode@users.sourceforge.net> for reporting the bug.
274
2753. Made -e/-E options of dump accept an unlimited number of inodes
276 to be excluded, rather than a hardcoded maximum. Thanks to
277 Dietrich Rothe <d-rothe@users.sourceforge.net> for the patch.
278
2794. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
280 and -D_USE_BSD_SIGNAL defines in configure in order to solve
281 64bit build problems because quad_t is redifined with a
282 different signature. Thanks to Mike Harris <mharris@redhat.com>
283 for reporting this bug.
284
2855. Made restore build on Solaris, making possible to
286 restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
287 <uwe@ugsoft.de> for the patch.
288
2896. Made an extension in the dump tape format capable of saving
290 MacOSX specific inode extensions. Uwe Gohlke <uwe@ugsoft.de>
291 wrote the extension and contributed the restore code back
292 into this codebase. The same extension mechanism will be
293 used in the future to save ACLs...
294
2957. Made rmt work correctly with regard to QFA and local/remote
296 files and tapes. The remote access will however work only
297 when the dump provided rmt version is used. If you want to
298 use another rmt server, please do not use the QFA feature.
299 Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
300
301Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
302====================================================================
303
3041. Fixed the INSTALL file to reflect the actual install paths.
305 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
306 reporting the bug.
307
3082. Fixed the configure script to only check for headers presence
309 instead of trying to compile them. This should fix issues
310 with old build environments. Thanks to Kari Lempiainen
311 <kari@funky.pp.fi> for reporting the bug.
312
3133. Fixed restore to correctly ignore sockets when comparing
314 a dump (as socket cannot be properly restored anyway). Thanks
315 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
316
3174. Fixed restore to correctly access the archive file (-A argument)
318 even when using a remote tape. Thanks to Fabrice Bellet
319 <fabrice@bellet.info> for reporting the bug.
320
3215. Fixed (again) handling of long (largefile) seeks in rmt.
322 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
323 the bug.
324
3256. Fixed restore corner case when dealing with large block sizes
326 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
327 <fabrice@bellet.info> for reporting the bug.
328
3297. Fixed a bug preventing dump to access a filesystem having
330 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
331 for reporting the bug.
332
3338. Made dump store dump dates using explicit timezones, fixing a
334 problem with incremental dumps if the timezone is modified
335 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
336 the bug report and the patch.
337
3389. Fixed a bug encountered when dumping individual files (not full
339 filesystems or directories) and dangling symbolic links happen
340 to be in the list of files. For as far as dump is concerned,
341 dangling symbolic links are allowed, and are dumped as is.
342 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
343 bug and providing the fix.
344
34510. Fixed open and creation modes and permissions for QFA and
346 table-of-contents files in dump and restore. Thanks to
347 Philippe Troin <phil@fifi.org> for the patch.
348
34911. Fixed the archive file descriptor handling enabling it to be 0.
350 This can happen in some cases when shell redirections are used.
351 Thanks to Philippe Troin <phil@fifi.org> for the patch.
352
35312. Delayed the opening of archive file until after suid had been
354 dropped (fixing a possible security issue if dump is suid).
355 Thanks to Philippe Troin <phil@fifi.org> for the patch.
356
35713. Fixed the 'S' command handling in the rmt client part.
358 Thanks to Philippe Troin <phil@fifi.org> for the patch.
359
36014. Modified the end-of-tape script handling to print out statistics
361 (and stop the timer) before launching the eot script. Also, the eot
362 script does not get run anymore when using -M (which makes sense) or
363 when multiple tapes are listed on the command line
364 (-f tape0,tape1,tapen) (which also makes sense).
365 Thanks to Philippe Troin <phil@fifi.org> for the patch.
366
36715. Relicensed dump/restore under the 'revised' BSD license, as per
368 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
369
37016. Added LZO compression to dump. This new compression method has
371 the advantage of being super fast, thus not killing tape streaming
372 on slow machines. Thanks to Helmut Jarausch
373 <jarausch@igpm.rwth-aachen.de> for the patch and to
374 Markus Oberhumer <markus@oberhumer.com> for giving special permission
375 to include his miniLZO project (GPL licensed) in dump/restore.
376
37717. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
378 <ant@notatla.demon.co.uk> for reporting the bugs.
379
38018. Added a special rmt version which can do encryption when writing
381 to tape. Read examples/encrypted_rmt/README for details on
382 how to enable and configure it. Thanks to Ken Lalonde
383 <ken@globalremit.com> for the patch.
384
38519. Made dump work with 2.5 kernel end of tape early warning semantics.
386 Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
387
38820. Fixed a bug which caused dump -w|-W not to work anymore, because
389 the fs_freq and fs_passno fields in /etc/mtab are always set
390 to 0 0. Thanks to Trent Piepho <xyzzy@speakeasy.org> for
391 reporting the bug.
392
393Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
394=======================================================================
395
3961. Added a note in the restore man page clarifying the question
397 'set the permissions on the current directory ?' asked by
398 restore at the end of treatment in -i and -x modes.
399
4002. Fixed the endianess issues when reading compressed tapes.
401 Thanks to Dark Force <daq4th@users.sourceforge.net> for
402 reporting this bug and providing test cases.
403
4043. Fixed the "ACL won't be dumped" warning message (which showed
405 an extra, unrelated error message). Thanks to Dragan Krnic
406 <dkrnic@lycos.com> for reporting this bug.
407
4084. Made dump look first into /etc/mtab, then into /etc/fstab
409 when searching for filesystem paths. Also fixed some problems
410 caused by binding mounts or multiple block device mounts.
411 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
412 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
413 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
414 and #160305, Sourceforge bugs #618699 and #679832).
415
4165. Made dump's -I option accept the value '0' meaning all the
417 read errors will be ignored. This can be useful when running
418 dump from unattended sessions (like cron jobs). Thanks to
419 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
420
4216. Fixed the output of dump to indicate 'blocks' instead of
422 'tape blocks' in the various messages (blocks are always
423 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
424 made it clearly print the current blocksize at the start of
425 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
426 the suggestions.
427
4287. Made rmt understand long (largefiles) seeks.
429
4308. Fixed build with very old versions of libext2fs, where
431 EXT2_FT_* constants were undefined.
432
4339. Made dump accept the dumpdates path on the command line
434 (-D file option) instead of using only the hardcoded one.
435 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
436 suggestion.
437
43810. Enabled rmt, LFS, readline, QFA options by default in
439 ./configure. Updated the configure process (new versions
440 of config.guess, config.sub etc).
441
442Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
443=======================================================================
444
4451. Changed dump to use fcntl(F_SETLK) style locking instead
446 of flock() when locking the dumpdates file. With the old
447 locking scheme, a local user having read rights on the
448 dumpdates file could be able to do a Denial of Service attack
449 on dump. In order to lock the dumpdates file with the new
450 scheme, the user would need to have write access on the file.
451 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
452 reporting the bug (originally a bugtraq post).
453
4542. Fixed interactive 'ls' which caused spurious errors warnings
455 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
456 <jorgen_ostling@users.sourceforge.net> for reporting this
457 bug.
458
4593. Fixed dump's estimate when dealing with sparse inodes.
460
4614. Modified dump to allow setting a blocksize bigger than 32kB
462 (raised the limit to 1024kB), because newer hardware needs
463 this for proper operation. Thanks to Dirk Traenapp
464 <dtraenapp@users.sourceforge.net> for reporting this.
465
4665. Fixed a bug causing Dump to stop and report an error if an
467 inode number in the exclude file was followed by some amount
468 of whitespace. Thanks to Jeffrey Sofferin
469 <sofferin@users.sourceforge.net> for reporting this bug.
470
4716. Fixed a bug which caused restore, in some particular cases,
472 to ask some 'scary' questions and leave a bunch of RSTTMP
473 directories behind when restoring incremental tapes. Thanks
474 to Philippe Troin <phil@fifi.org> for reporting this bug and
475 providing the test cases.
476
4777. Changed the wording when inodes are excluded from dump:
478 replaced 'Added inode 7 to exclude list' with
479 'Excluding inode 7 (resize inode) from dump', as suggested
480 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
481
482Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
483===================================================================
484
4851. Fixed rmt open flags transmission (GNU's symbolic syntax over
486 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
487 <eros@lamel.bo.cnr.it> for reporting the bug.
488
489Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
490===================================================================
491
4921. Made dump print out the ext2 logical block number in case of a read
493 error, which can be given as an argument to debugfs' ncheck command,
494 in order to find out the affected inode. Added note about this
495 usage in dump's man page.
496
4972. Fixed a problem in restore when reading tapes written on big
498 endian machines with very old versions of dump. The patch was
499 contributed by George Helffrich <george@geology.bristol.ac.uk>.
500
5013. Fixed the tape length calculation when using large tapes
502 and compression. Thanks to Georg Lippold
503 <g_lippold@sourceforge.net> for reporting the bug.
504
5054. Added a new set of examples in dump_on_cd_2 directory, based
506 on dump_on_cd examples but somewhat enhanced, supporting DVD
507 media, and localized in english and german. Thanks to
508 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
509
5105. Made dump save 32 bit UID/GID. Internally, this was achieved
511 by switching from the old BSD inode format to the new BSD
512 inode format, which means that the tape format was changed.
513 However, since all restore versions out there should
514 transparently support both inode formats, the change should
515 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
516 reporting the bug.
517
5186. Fixed a lot of warnings in the code shown when compiling
519 with 'gcc -W'. Thanks to Matthias Andree
520 <matthias.andree@stud.uni-dortmund.de> for reporting this.
521
5227. Fixed a small markup bug in the dump man page. Thanks to
523 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
524 patch.
525
5268. Rewrote entirely the man pages using the tmac.an macro
527 package (Linux man page format) instead of the original BSD
528 format. They should be now cleaner and easier to modify.
529
530Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
531==================================================================
532
5331. Fixed a problem in the rmt ioctl command, where ioctl's issued from
534 non Linux clients were misinterpreted. The description of the problem
535 (incompatible numbering in Linux mtio opcodes) is documented at
536 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
537