]> git.wh0rd.org - dump.git/blobdiff - CHANGES
Use only ctime to compare newness (instead of both ctime and mtime)
[dump.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index 8a16dfa43da031b087c34c1c8137d0a4a31ec04c..bcbb3b5ca0fb0254cef87a6ff51ae3f900170a88 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,339 @@
-$Id: CHANGES,v 1.233 2003/10/26 16:05:44 stelian Exp $
+$Id: CHANGES,v 1.313 2010/06/10 12:17:35 stelian Exp $
 
-Changes between versions 0.4b34 and 0.4b35 (released ??????????????)
+Changes between versions 0.4b42 and 0.4b43 (released ?????????????)
+===================================================================
+
+1.     Fix a bug in dump making impossible to handle large toc files
+       (> 2 GB). Thanks to X DUGi <xdugi@users.sourceforge.net> for
+       reporting the bug (Sourceforge bug #2820629)
+
+2.     Fix 'restore -x' in multi-volume mode, which caused files being
+       spanned on the first and second volumes to be incorrectly extracted.
+       Thanks to Adam Tkac <atkac@redhat.com> for reporting the bug.
+       (there may be several bug reports about this issue, including
+       Sourceforge bug #2117008, RedHat bugs #232415 and #444958).
+
+3.     Remove -lselinux -lsepol from the standard libraries list,
+       they shouldn't be needed if selinux is not enabled in dump
+       (this also fixes a build failure when selinux libraries are
+       not installed).
+
+4.     Fix restoration of extended attributes of fifos and device nodes.
+       Thanks to Igor Zhbanov <izh1979@gmail.com> for the bug report.
+
+5.     Don't attempt to set extended attributes on files that were not
+       extracted in 'restore -N' mode. Thanks to Jan Görig
+       <jgorig@users.sourceforge.net> for the patch.
+
+6.     Make the dump man page explicit about ext4 support.
+
+7.     Fix a bug in dump which caused EA entries to be unrecognizable by
+       restore in some corner cases. Add a workaround to restore making
+       it able to properly deal with those corrupted EA entries. Thanks
+       to John Austin <jaustin1@users.sourceforge.net> for reporting
+       the bug.
+
+8.     Fix some issues when restoring a dump which was generated using
+       exclusion patterns (either via -e or via the nodump attribute)
+       (see the Debian bug #574667 for details. Thanks to Frédéric
+       Brière <fbriere@fbriere.net> for the bug report and the associated
+       patch.
+
+9.     Fix progress/estimated blocks display in dump when doing really
+       huge backups. Thanks to Steve Bonds <sbonds@users.sourceforge.net>
+       for the bug report and tests. (Sourceforge bug #2987758)
+
+10.    Improve level 1 dump speed by rearanging the "mapdirs" code.
+       Thanks to Andreas Kies <andikies@t-online.de> for finding the
+       bottleneck and sending a patch (Sourceforge bug #2998119).
+
+11.    Use only ctime in order to compare newness instead of both
+       ctime and mtime. This should both speed up dumping time and
+       correct some side-effect bugs (like dumping files with an mtime
+       in the future in every incremental backup). Thanks to
+       Kieran Clancy <codebeard@users.sourceforge.net> for reporting the
+       bug (Sourceforge bug #2999207).
+
+Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009)
+===================================================================
+
+1.     Fix printout of the 'Connection to' message in dump/restore.
+       Thanks to Dale Wiles <dwiles@users.sourceforge.net> for the
+       bug report and its fix.
+
+2.     Fix dump -w/-W output for filesystems having the last backup
+       level equal to 0. Thanks to Pascal Bouchareine
+       <kalou@users.sourceforge.net> for reporting the bug.
+
+3.     Enable restore to handle restoring onto a different SELinux
+       policy from the dump. Thanks to Tony Nelson 
+       <tony_nelson@users.sourceforge.net> for the patch.
+       (see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189845
+       for details)
+
+4.     Fix EA set failures when restoring immutable files. Thanks
+       to Andrew Kroeger for the patch.
+
+5.     Fix "mode file too large" errors when restoring huge backups.
+       Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+       report.
+
+6.     Add the ability to link against libtinfo library if present,
+       instead of libtermcap or libncurses libraries. Thanks to
+       Adam Tkac <atkac@redhat.com> for the patch.
+
+7.     When comparing a backup, do not consider to be an error the fact
+       that we encounter files created while dump was in progress.
+       Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+       report.
+
+8.     Force '-a' to be the default value when running 'restore -C'.
+       Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+       report.
+
+9.     Many improvements to the 'cron_dump_to_disk' example.
+       Thanks to Aaron S. Hawley <ashawley@users.sourceforge.net> for
+       the patch.
+
+10.    Fix the QFA generation when extended attributes are backuped
+       along with the inodes. Prior to this fix, the entries for
+       some inodes may get corrupted (duplicated entries or incorrect
+       ones), making the QFA file unusable for repositionning in
+       restore. Many thanks to Kenneth Porter <shiva@sewingwitch.com>
+       for the bug report and the testing of the fix.
+
+11.    Fix EA restoration in debug mode (Sourceforge bug #1986216).
+
+12.    Stefan Auracher <star7@onlinehome.de> noticed that the Tower
+       of Hanoi backup strategy documented in the man page wasn't
+       actually based on the Tower of Hanoi algorithm. The man page
+       was updated accordingly.
+
+13.    Fix missing level information from dump output when using
+       the default level (RedHat bug #493635). Thanks to Adam Tkac
+       <atkac@redhat.com> for the patch.
+
+14.    Fix the dump man page to reflect the fact that the default
+       dump level is 0 not 9 (RedHat bug #356121). Thanks to Adam Tkac
+       <atkac@redhat.com> for the patch.
+
+15.    Fixed a few spelling errors in the man pages (RedHat bug #489853).
+       Thanks to Adam Tkac <atkac@redhat.com> for the patch.
+
+16.    Fixed restore man page and program usage which incorrectly stated
+       that -P and -A were both allowed in the same invocation (RedHat
+       bug #490627). Thanks to Adam Tkac <atkac@redhat.com> for the patch.
+
+17.    Use sys_clone under Linux to share I/O contexts between dump
+       processes, thus drastically increasing the performance of dump
+       under CFQ (which is the default I/O scheduler used in a number of
+       distributions). Thanks to Jeff Moyer <jmoyer@redhat.com> for the
+       patch.
+
+18.    Add (preliminary) ext4 support - thanks to libext2fs which does
+       all the job for us. Thanks to Gertjan van Wingerde
+       <gwingerde@gmail.com> for the patch.
+
+Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
+=====================================================================
+
+1.     Fix restore of dumped Access Control Lists. The previous
+       code for EA works fine, but ACLs needed conversion from the
+       ext2/3 disk format to posix_acl format before restoring.
+
+2.     Fix some issues with restoration of EA on big endian
+       platforms.
+
+3.     Fix restore when the symtab is over 2GB in size.
+
+4.     Made the directory hash indexing an optional feature,
+       accessible by the '-H' option of restore, and disable it
+       by default.
+
+5.     Fixed dump to not include extended attributes information
+       in the toc (archive) file which confused restore -t.
+
+Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
+=================================================================
+
+1.     Changed restore to emit warnings (instead of emitting a fatal
+       error) if a file (or a directory) is unavailable for a 
+       comparision (if the user doesn't have the necessary permissions
+       to access it for example). Thanks to Kenneth Porter
+       <shiva@sewingwitch.com> for the bug report.
+
+2.     Re-done the 'do not save directory entries to non-dumped inodes
+       (excluded from dump)' feature. The previous implementation
+       worked well for excluded directories but not for regular files.
+       Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+       report.
+
+3.     Fixed a bug in dump where the tape size was miscalculated when
+       the user used -d/-s to specify the tape characteristics. Thanks
+       to Philip Goisman <goisman@physics.arizona.edu> for reporting
+       the bug.
+
+4.     Fixed another bug introduced in restore with the hashtree
+       implementation. This one caused restore to stop saying
+       "removenode: non-empty directory" in some cases.
+
+5.     Added support for dumping and restoring ext2/3 extended
+       attributes (EA), like the access control lists (ACL) or
+       the security labels used by SELinux.
+
+Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
+======================================================================
+
+1.     The newly added dump_on_cd_3 example was buggy, replace it
+       with an updated version from Andrew Basterfield
+       <bob@cemetery.homeunix.org>.
+
+2.     Made restore to chdir() back into the initial directory when
+       dumping core while aborting a comparision operation. The
+       previous behaviour was to write the corefile at the root of
+       the directory being compared, which could very well be 
+       read only and preventing the corefile generation. Thanks
+       to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
+
+3.     Silenced the failure to call fgetflags() when comparing an
+       entry which has no ext2 attributes (as in lsattr()).
+
+4.     Fix a brown paper bug in restore -C which broke restore and
+       caused modifications on the filesystem being compared
+       (directories containing a file with the same name as the
+       directory get renamed to RSTTMP...). Thanks to Kenneth Porter
+       <shiva@sewingwitch.com> for finding the bug and helping me
+       reproduce it.
+
+5.     Made restore -C force the -N flag (no writing allowed on
+       the disk) in order to prevent more bugs like the above one.
+
+Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
+=====================================================================
+
+1.     Fix a couple of troff syntax bugs in the man pages.
+       Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
+
+2.     Made restore use either libncurses or libtermcap, depending
+       on which one is available at configure time.
+
+3.     Fixed restore negative size display bug when comparing a
+       dump containing files over 2GB. Thanks to Steve Bonds
+       <sbonds@users.sourceforge.net> for the bug report.
+
+4.     Do not save directory entries to non-dumped inodes 
+       (excluded from dump). This will eliminate the 'missing
+       file' warnings when doing 'restore -C'.
+
+5.     Fix dump crash when backuping a huge (2TB) filesystem,
+       due to a bogus calculation on the inode map size.
+       Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for 
+       submitting the bug and testing the fix.
+
+6.     Fix a problem in restore where the final \0 in the symbolic
+       link names could have been lost, generating corrupt filenames.
+       Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
+       bug.
+
+7.     Implemented a hash list for the directory names in restore.
+       The linear list used before caused problems in interactive
+       restores when dealing with directories having thousands of
+       entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
+       for reporting the bug.
+
+8.     Improved restore -C, this time including the directory
+       attributes into the comparision.
+
+9.     Made restore understand tapes containing EA/ACLs (which will
+       be dumped by the next version of dump). In this version 
+       extended attributes on the tape are ignored, for full EA/ACL
+       support wait for the next version or try the experimental EA
+       patch.
+
+Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
+==================================================================
+
+1.     Added the --enable-staticz configure option which enables
+       dump and restore to be linked with static versions of
+       libz and libbz2 (and dynamic versions of all other libraries).
+       This will make Debian users happy, because libz and libbz2
+       were the only needed libraries living in /usr, all the
+       others live in /lib. In case of system emergency, it is 
+       better not to have to rely on an extra filesystem.
+       Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
+
+2.     Fix compilation on (at least the Linux Debian port to) AMD64.
+       (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
+       that are also defined by <linux/types.h> (<asm/types.h>) and 
+       they conflict).
+
+3.     Make dump's reading of the dumpdates file a bit more robust,
+       preventing dump from crashing when the dumpdates file has
+       been modified by hand.
+
+4.     Fixed some offset calculations in dump code which could 
+       lead to "bread lseek errors" on large filesystems. Thanks
+       to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
+       reporting this bug and debugging the issue.
+
+5.     Made dump use the blkid library when searching for devices
+       by label or uuid instead of dump's own routines.
+
+6.     Corrected a bug in dump where a wrong LABEL=... line in
+       /etc/fstab could prevent dump from dumping unrelated 
+       filesystems. Thanks to Bruce Lowekamp
+       <lowekamp@users.sourceforge.net> for reporting the bug.
+
+Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
 ====================================================================
 
+1.     Fixed dump compilation with old gcc versions. Thanks to
+       Mike Castle <dalgoda@users.sourceforge.net> for the patch.
+
+2.     Fixed some warnings (howmany, roundup, powerof2 redefined)
+       when compiling against a recent glibc version.
+
+3.     Fixed a bug in restore preventing the read of a dump tape
+       written with Solaris 7 ufsdump. Thanks to Patrick Higgins
+       <phiggins@transzap.com> for reporting the bug and providing 
+       the test case.
+
+4.     Changed dump to enable the creation of volumes of different
+       sizes in a single run (make -B accept a list of values).
+       Patch contributed by Florian Zumbiehl <florz@gmx.de>.
+
+5.     Use the glibc provided minor() and major() macros instead
+       of our own bitmask implementation. This should be safe for
+       when the major/minor namespace will migrate to 32 bits.
+       Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
+       the bug.
+
+6.     Made explicit in the dump man page that dump will not create
+       a remote file, it will only write to an already existing one.
+
+7.     Another try at making size estimates better again.
+
+8.     Put back the inconditional running of the end-of-tape
+       script which was changed in 0.434 to be run only when -M
+       or multiple -f were NOT specified. Some users rely on this
+       feature even when it is combined with -M/-f.
+
+9.     Fixed restore when restoring huge backups (where rstdir...
+       temporary files are over 2GB). Thanks to 
+       Raphael Jaffey <rjaffey@artic.edu> for reporting this, 
+       debugging the issue and making the patch.
+
+10.    Made restore understand FreeBSD UFS2 tapes. Thanks to
+       David <vrtin@users.sourceforge.net> for submitting the bug
+       and providing a test case.
+
+11.    Made dump work with an arbitrary integer level (no more 10
+       levels only limitation). Thanks to Matthew
+       <msvincen@midway.uchicago.edu> for the patch.
+       
+Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
+=======================================================================
+
 1.     Added a note in the dump man page saying that the default
        blocksize can be 32 if -d is used with a high density argument.
        Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
@@ -22,7 +353,7 @@ Changes between versions 0.4b34 and 0.4b35 (released ??????????????)
        different signature. Thanks to Mike Harris <mharris@redhat.com>
        for reporting this bug.
 
-5.     Made dump/restore build on Solaris, making possible to
+5.     Made restore build on Solaris, making possible to
        restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
        <uwe@ugsoft.de> for the patch.
 
@@ -36,6 +367,7 @@ Changes between versions 0.4b34 and 0.4b35 (released ??????????????)
        files and tapes. The remote access will however work only 
        when the dump provided rmt version is used. If you want to
        use another rmt server, please do not use the QFA feature.
+       Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
 
 Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
 ====================================================================