dump.git
12 years agoProperly deal with inodes excluded from incremental dump
Stelian Pop [Mon, 22 Mar 2010 16:08:10 +0000 (16:08 +0000)] 
Properly deal with inodes excluded from incremental dump

Files which are excluded from a dump (via -e or the nodump attribute)
still have their inode marked as in-use in the dump header.  This can
cause problems when restoring from an incremental dump, if that inode is
currently assigned in the symtable:

  - If assigned to a file that is being overwritten by another inode,
    the old entry will be renamed away, but never reclaimed, thus
    leaving the TMPNAME flag turned on and preventing its removal.

  - If assigned to a directory, that directory will not be removed by
    removeoldleaves(), and its entry will linger on in its parent's
    e_entries.

    - If its parent is being updated, removeleaf() will wrongly be
      called on the entry.  The above comment about TMPNAME also
      applies.

    - If its parent is being deleted, this will fail due to the entry's
      presence.

12 years agoFix invalid EA metainformation in dump, add a workaround to restore to
Stelian Pop [Mon, 22 Mar 2010 15:40:55 +0000 (15:40 +0000)] 
Fix invalid EA metainformation in dump, add a workaround to restore to
cope with the invalid entries.

12 years agoReplace ext2/3 by ext2/3/4 in the man page.
Stelian Pop [Mon, 8 Mar 2010 10:57:24 +0000 (10:57 +0000)] 
Replace ext2/3 by ext2/3/4 in the man page.

12 years agoDon't attempt to extract EA in 'restore -N' mode.
Stelian Pop [Mon, 8 Mar 2010 10:40:52 +0000 (10:40 +0000)] 
Don't attempt to extract EA in 'restore -N' mode.

13 years agoFix restore dumping core in some situations due to the previous (incomplete) fix
Stelian Pop [Fri, 4 Dec 2009 16:29:18 +0000 (16:29 +0000)] 
Fix restore dumping core in some situations due to the previous (incomplete) fix

13 years agoFix restoration of extended attributes for fifos and device nodes.
Stelian Pop [Thu, 3 Dec 2009 12:46:29 +0000 (12:46 +0000)] 
Fix restoration of extended attributes for fifos and device nodes.

13 years agoRemove -lselinux -lsepol from standard libs list.
Stelian Pop [Mon, 7 Sep 2009 08:51:04 +0000 (08:51 +0000)] 
Remove -lselinux -lsepol from standard libs list.

13 years agoFix restore of files spanning on the first and second volumes of a dump.
Stelian Pop [Thu, 23 Jul 2009 14:10:38 +0000 (14:10 +0000)] 
Fix restore of files spanning on the first and second volumes of a dump.

13 years agoUse OPEN() instead of open() for toc files.
Stelian Pop [Thu, 23 Jul 2009 09:34:07 +0000 (09:34 +0000)] 
Use OPEN() instead of open() for toc files.

13 years agoPrepare for 0.4b42 release release_0_4b42
Stelian Pop [Thu, 18 Jun 2009 10:17:58 +0000 (10:17 +0000)] 
Prepare for 0.4b42 release

13 years agoAdd ext4 filesystem support.
Stelian Pop [Thu, 18 Jun 2009 10:00:38 +0000 (10:00 +0000)] 
Add ext4 filesystem support.

13 years agoUse sys_clone under Linux to share I/O contexts between dump processes.
Stelian Pop [Thu, 18 Jun 2009 09:50:54 +0000 (09:50 +0000)] 
Use sys_clone under Linux to share I/O contexts between dump processes.

13 years agoRestore does not allow -P and -A at the same time.
Stelian Pop [Thu, 18 Jun 2009 09:42:11 +0000 (09:42 +0000)] 
Restore does not allow -P and -A at the same time.

13 years agoSpelling fixes in the man pages.
Stelian Pop [Thu, 18 Jun 2009 09:40:03 +0000 (09:40 +0000)] 
Spelling fixes in the man pages.

13 years agoFix the default dump level in man page (0 not 9)
Stelian Pop [Thu, 18 Jun 2009 09:36:52 +0000 (09:36 +0000)] 
Fix the default dump level in man page (0 not 9)

13 years agoFix dump output message when using default level.
Stelian Pop [Thu, 18 Jun 2009 09:35:14 +0000 (09:35 +0000)] 
Fix dump output message when using default level.

14 years agoThe Tower of Hanoi example wasn't.
Stelian Pop [Thu, 4 Sep 2008 19:21:07 +0000 (19:21 +0000)] 
The Tower of Hanoi example wasn't.

14 years agoFix EA restore in debug mode.
Stelian Pop [Mon, 9 Jun 2008 13:25:40 +0000 (13:25 +0000)] 
Fix EA restore in debug mode.

14 years agoFix QFA file generation.
Stelian Pop [Wed, 4 Jun 2008 19:27:47 +0000 (19:27 +0000)] 
Fix QFA file generation.

14 years agoYet more improvements to cron_dump_to_disk.
Stelian Pop [Sun, 18 May 2008 08:08:17 +0000 (08:08 +0000)] 
Yet more improvements to cron_dump_to_disk.

14 years agoMore improvements from Aaron S. Hawley <aaron.s.hawley@gmail.com>.
Stelian Pop [Wed, 14 May 2008 09:24:58 +0000 (09:24 +0000)] 
More improvements from Aaron S. Hawley <aaron.s.hawley@gmail.com>.

14 years agoMore improvements from Aaron S. Hawley <ashawley@sourceforge.net>
Stelian Pop [Tue, 13 May 2008 15:13:20 +0000 (15:13 +0000)] 
More improvements from Aaron S. Hawley <ashawley@sourceforge.net>

14 years agoImprovements to cron_dump_to_disk
Stelian Pop [Mon, 5 May 2008 09:25:27 +0000 (09:25 +0000)] 
Improvements to cron_dump_to_disk

14 years agoMore cleanup fixes.
Stelian Pop [Fri, 18 Apr 2008 08:42:47 +0000 (08:42 +0000)] 
More cleanup fixes.

14 years agoCleanup output of cron_dump_to_disk example.
Stelian Pop [Thu, 17 Apr 2008 15:29:47 +0000 (15:29 +0000)] 
Cleanup output of cron_dump_to_disk example.

14 years agoForce -a when in 'restore -C' mode.
Stelian Pop [Thu, 17 Apr 2008 15:26:46 +0000 (15:26 +0000)] 
Force -a when in 'restore -C' mode.

14 years agoIn restore -C, encountering an unexpected file is not an error.
Stelian Pop [Thu, 17 Apr 2008 15:22:56 +0000 (15:22 +0000)] 
In restore -C, encountering an unexpected file is not an error.

14 years agoLink against libtinfo if present.
Stelian Pop [Thu, 17 Apr 2008 15:19:12 +0000 (15:19 +0000)] 
Link against libtinfo if present.

14 years agoFix "mode file too large" errors when restoring huge backups.
Stelian Pop [Thu, 17 Apr 2008 15:16:47 +0000 (15:16 +0000)] 
Fix "mode file too large" errors when restoring huge backups.

15 years agoFix the EA set failures when restoring immutable files
Stelian Pop [Thu, 22 Feb 2007 20:16:23 +0000 (20:16 +0000)] 
Fix the EA set failures when restoring immutable files

15 years agoFix SELinux xattr handling.
Stelian Pop [Thu, 22 Feb 2007 20:12:50 +0000 (20:12 +0000)] 
Fix SELinux xattr handling.

15 years agoExplicitly link with '-ldevmapper -lselinux -lsepol' (from Fedora .src.rpm)
Stelian Pop [Thu, 22 Feb 2007 20:02:35 +0000 (20:02 +0000)] 
Explicitly link with '-ldevmapper -lselinux -lsepol' (from Fedora .src.rpm)

16 years agoSmall man page improvement regarding the dump levels specification.
Stelian Pop [Tue, 1 Aug 2006 10:22:44 +0000 (10:22 +0000)] 
Small man page improvement regarding the dump levels specification.
From Bdale Garbee (http://bugs.debian.org/378349).

16 years agoFix dump -w/-W output, again...
Stelian Pop [Tue, 14 Mar 2006 11:09:50 +0000 (11:09 +0000)] 
Fix dump -w/-W output, again...

16 years agoFix 'Connection to' message to appear on stderr just like all the other dump messages.
Stelian Pop [Mon, 13 Mar 2006 10:33:44 +0000 (10:33 +0000)] 
Fix 'Connection to' message to appear on stderr just like all the other dump messages.

16 years agoPrepare for release 0.4b41 release_0_4b41
Stelian Pop [Mon, 2 Jan 2006 15:24:22 +0000 (15:24 +0000)] 
Prepare for release 0.4b41

16 years agoPrepare for release 0.4b41
Stelian Pop [Mon, 2 Jan 2006 15:13:29 +0000 (15:13 +0000)] 
Prepare for release 0.4b41

16 years agoBuildRequires: ncurses-devel
Stelian Pop [Mon, 2 Jan 2006 09:35:08 +0000 (09:35 +0000)] 
BuildRequires: ncurses-devel

17 years agoFix toc file to not include extended attributes information.
Stelian Pop [Sat, 20 Aug 2005 21:00:47 +0000 (21:00 +0000)] 
Fix toc file to not include extended attributes information.

17 years agoMake the directory hashtable optional and controled via restore -H
Stelian Pop [Thu, 7 Jul 2005 09:16:03 +0000 (09:16 +0000)] 
Make the directory hashtable optional and controled via restore -H

17 years agoFix restore when symtab file is over 2GB in size.
Stelian Pop [Thu, 7 Jul 2005 08:47:13 +0000 (08:47 +0000)] 
Fix restore when symtab file is over 2GB in size.

17 years agoFix big endian issues with EA/ACL
Stelian Pop [Wed, 8 Jun 2005 13:24:08 +0000 (13:24 +0000)] 
Fix big endian issues with EA/ACL

17 years agoFix restore of ACLs.
Stelian Pop [Wed, 8 Jun 2005 09:34:33 +0000 (09:34 +0000)] 
Fix restore of ACLs.

17 years agoExplain some caveats with dump -m in the man page.
Stelian Pop [Wed, 1 Jun 2005 13:44:35 +0000 (13:44 +0000)] 
Explain some caveats with dump -m in the man page.

17 years agoFix code to not require ISO C99.
Stelian Pop [Sat, 28 May 2005 18:34:47 +0000 (18:34 +0000)] 
Fix code to not require ISO C99.

17 years agoPrepare for release 0.4b40. release_0_4b40
Stelian Pop [Mon, 2 May 2005 15:13:40 +0000 (15:13 +0000)] 
Prepare for release 0.4b40.

17 years agoAdded EA/ACL support in dump and restore.
Stelian Pop [Mon, 2 May 2005 15:10:43 +0000 (15:10 +0000)] 
Added EA/ACL support in dump and restore.

17 years agoFix an issue with the size of dump maps appearing when the filesystem has been resize...
Stelian Pop [Wed, 30 Mar 2005 13:34:00 +0000 (13:34 +0000)] 
Fix an issue with the size of dump maps appearing when the filesystem has been resized since the previous incremental dump.

17 years agoFix a small bug on an error path introduced by the hashtree patch.
Stelian Pop [Wed, 30 Mar 2005 13:21:45 +0000 (13:21 +0000)] 
Fix a small bug on an error path introduced by the hashtree patch.

17 years agoFix another hashtree bug in restore causing "removenode: non-empty directory"
Stelian Pop [Fri, 18 Mar 2005 22:12:54 +0000 (22:12 +0000)] 
Fix another hashtree bug in restore causing "removenode: non-empty directory"

17 years agoFix a bug where dump miscalculates the tape size based on -d/-s
Stelian Pop [Wed, 2 Mar 2005 08:46:54 +0000 (08:46 +0000)] 
Fix a bug where dump miscalculates the tape size based on -d/-s

17 years agoRemove a few unneeded Nflag
Stelian Pop [Fri, 25 Feb 2005 13:44:32 +0000 (13:44 +0000)] 
Remove a few unneeded Nflag

17 years agoFix the 'do not save directory entries to non-dumped inodes
Stelian Pop [Tue, 25 Jan 2005 13:33:41 +0000 (13:33 +0000)] 
Fix the 'do not save directory entries to non-dumped inodes
(excluded from dump)' feature in order to also work for
regular files.

17 years agoSmall missing \n
Stelian Pop [Mon, 24 Jan 2005 10:37:58 +0000 (10:37 +0000)] 
Small missing \n

17 years agoEmit warnings not panic() when comparing a file and we don't have enough priviledges...
Stelian Pop [Mon, 24 Jan 2005 10:32:01 +0000 (10:32 +0000)] 
Emit warnings not panic() when comparing a file and we don't have enough priviledges to access it.

17 years agoprepare for release 0.4b39 release_0_4b39
Stelian Pop [Fri, 21 Jan 2005 09:27:26 +0000 (09:27 +0000)] 
prepare for release 0.4b39

17 years agoForce restore -C to imply -N
Stelian Pop [Fri, 14 Jan 2005 13:04:56 +0000 (13:04 +0000)] 
Force restore -C to imply -N

17 years agoFix restore -C to handle correctly directories containing a file with the same name...
Stelian Pop [Fri, 14 Jan 2005 13:04:07 +0000 (13:04 +0000)] 
Fix restore -C to handle correctly directories containing a file with the same name (bug in the new hashdir code).

17 years agoSilenced the failure to call fgetflags() when comparing an entry which has no ext2...
Stelian Pop [Fri, 14 Jan 2005 13:01:32 +0000 (13:01 +0000)] 
Silenced the failure to call fgetflags() when comparing an entry which has no ext2 attributes (as in lsattr()).

17 years agochdir() back to the initial directory when abort()ing.
Stelian Pop [Thu, 13 Jan 2005 15:41:05 +0000 (15:41 +0000)] 
chdir() back to the initial directory when abort()ing.

17 years agoUpdated buggy example.
Stelian Pop [Thu, 13 Jan 2005 12:13:46 +0000 (12:13 +0000)] 
Updated buggy example.

17 years agoPrepare for 0.4b38 release. release_0_4b38
Stelian Pop [Fri, 7 Jan 2005 13:30:29 +0000 (13:30 +0000)] 
Prepare for 0.4b38 release.

17 years agoAdded a new dump on cd/dvd script.
Stelian Pop [Fri, 7 Jan 2005 09:51:06 +0000 (09:51 +0000)] 
Added a new dump on cd/dvd script.

17 years agoBetter comparision (including directories).
Stelian Pop [Wed, 15 Dec 2004 11:00:00 +0000 (11:00 +0000)] 
Better comparision (including directories).
Made restore understand tapes with EA/ACLs.

17 years agoBe sure the di_size in a map header has the correct value.
Stelian Pop [Wed, 15 Dec 2004 09:31:49 +0000 (09:31 +0000)] 
Be sure the di_size in a map header has the correct value.

17 years agoHashlist implementation for directory entries in restore.
Stelian Pop [Tue, 14 Dec 2004 14:07:56 +0000 (14:07 +0000)] 
Hashlist implementation for directory entries in restore.

17 years agoFix the exclusion of directory entries of inodes from the dump.
Stelian Pop [Tue, 14 Dec 2004 11:21:48 +0000 (11:21 +0000)] 
Fix the exclusion of directory entries of inodes from the dump.

17 years agoFix a problem in restore where the final \0 in the symbolic
Stelian Pop [Fri, 10 Dec 2004 13:31:20 +0000 (13:31 +0000)] 
Fix a problem in restore where the final \0 in the symbolic
link names could have been lost, generating corrupt filenames.

18 years agoFix SIGSEGV in dump when dumping huge 2TB filesystems (bad inode map calculation)
Stelian Pop [Mon, 22 Nov 2004 10:32:31 +0000 (10:32 +0000)] 
Fix SIGSEGV in dump when dumping huge 2TB filesystems (bad inode map calculation)

18 years agoExclude directory entries to non-dumped inodes from the dump.
Stelian Pop [Mon, 22 Nov 2004 10:22:40 +0000 (10:22 +0000)] 
Exclude directory entries to non-dumped inodes from the dump.

18 years agoFixed negative size displays in restore
Stelian Pop [Mon, 16 Aug 2004 09:39:45 +0000 (09:39 +0000)] 
Fixed negative size displays in restore

18 years agoTest for libncurses, then libtermcap when --enable-readline'ing
Stelian Pop [Tue, 20 Jul 2004 15:52:58 +0000 (15:52 +0000)] 
Test for libncurses, then libtermcap when --enable-readline'ing

18 years agoTroff syntax fixes in the man pages.
Stelian Pop [Tue, 13 Jul 2004 08:17:30 +0000 (08:17 +0000)] 
Troff syntax fixes in the man pages.

18 years agoPrepare for release 0.4b37
Stelian Pop [Wed, 7 Jul 2004 13:34:06 +0000 (13:34 +0000)] 
Prepare for release 0.4b37

18 years agoDo not include kernel headers, use sys/mount.h for getting BLKFLSBUF definition.
Stelian Pop [Wed, 7 Jul 2004 11:07:29 +0000 (11:07 +0000)] 
Do not include kernel headers, use sys/mount.h for getting BLKFLSBUF definition.

18 years agoA wrong line in /etc/fstab containing LABEL=... could prevent dump from running....
Stelian Pop [Mon, 5 Jul 2004 15:12:44 +0000 (15:12 +0000)] 
A wrong line in /etc/fstab containing LABEL=... could prevent dump from running. Fix it.

18 years agoMade dump use blkid library.
Stelian Pop [Mon, 5 Jul 2004 15:02:32 +0000 (15:02 +0000)] 
Made dump use blkid library.

18 years agoFixed an offset calculation leading to bread lseek errors.
Stelian Pop [Thu, 1 Jul 2004 09:14:48 +0000 (09:14 +0000)] 
Fixed an offset calculation leading to bread lseek errors.

18 years agoFix SIGSEGV when reading a hand-modified dumpdates file.
Stelian Pop [Thu, 17 Jun 2004 09:01:13 +0000 (09:01 +0000)] 
Fix SIGSEGV when reading a hand-modified dumpdates file.

18 years agoFix compilation on AMD64
Stelian Pop [Wed, 2 Jun 2004 09:22:48 +0000 (09:22 +0000)] 
Fix compilation on AMD64

18 years agoFix a couple of gcc 3.3.3 warnings.
Stelian Pop [Tue, 25 May 2004 10:39:29 +0000 (10:39 +0000)] 
Fix a couple of gcc 3.3.3 warnings.

18 years agoAdd --enable-staticz configure option.
Stelian Pop [Mon, 24 May 2004 12:39:23 +0000 (12:39 +0000)] 
Add --enable-staticz configure option.

18 years agoPrepare for dump 0.4b36 release. release_0_4b36
Stelian Pop [Wed, 21 Apr 2004 09:18:49 +0000 (09:18 +0000)] 
Prepare for dump 0.4b36 release.

18 years agoFix some compile warnings.
Stelian Pop [Wed, 21 Apr 2004 09:15:08 +0000 (09:15 +0000)] 
Fix some compile warnings.

18 years agoMake dump understand any integer as the dump level.
Stelian Pop [Wed, 21 Apr 2004 08:55:48 +0000 (08:55 +0000)] 
Make dump understand any integer as the dump level.

18 years agoMade restore understand FreeBSD UFS2 dumps.
Stelian Pop [Tue, 13 Apr 2004 13:03:55 +0000 (13:03 +0000)] 
Made restore understand FreeBSD UFS2 dumps.

18 years agoFixed LFS problems when restoring huge dumps (with temporary files being over 2 GB).
Stelian Pop [Mon, 29 Mar 2004 13:57:28 +0000 (13:57 +0000)] 
Fixed LFS problems when restoring huge dumps (with temporary files being over 2 GB).

18 years agoBack in the backed out block estimate patch. :)
Stelian Pop [Wed, 10 Mar 2004 16:26:30 +0000 (16:26 +0000)] 
Back in the backed out block estimate patch. :)

18 years agoBack out the block estimate patch.
Stelian Pop [Mon, 8 Mar 2004 14:12:56 +0000 (14:12 +0000)] 
Back out the block estimate patch.

18 years agoFixed -F to be run even if -M/-f is in use.
Stelian Pop [Mon, 8 Mar 2004 14:04:02 +0000 (14:04 +0000)] 
Fixed -F to be run even if -M/-f is in use.

18 years agoAnother try at fixing size estimate.
Stelian Pop [Mon, 1 Mar 2004 15:38:10 +0000 (15:38 +0000)] 
Another try at fixing size estimate.

18 years agoFix '-B list of values' patch.
Stelian Pop [Mon, 1 Mar 2004 10:52:53 +0000 (10:52 +0000)] 
Fix '-B list of values' patch.

18 years agoMade explicit in the dump man page that dump will not create
Stelian Pop [Wed, 18 Feb 2004 16:26:40 +0000 (16:26 +0000)] 
Made explicit in the dump man page that dump will not create
a remote file, it will only write to an already existing one.

18 years agoUse minor()/major() instead of "& 0xff" in order to be 32 bit compliant
Stelian Pop [Wed, 28 Jan 2004 10:02:31 +0000 (10:02 +0000)] 
Use minor()/major() instead of "& 0xff" in order to be 32 bit compliant

18 years agoSmall prototype fix.
Stelian Pop [Tue, 27 Jan 2004 10:46:55 +0000 (10:46 +0000)] 
Small prototype fix.

18 years agoMake -B accept a list of values.
Stelian Pop [Tue, 27 Jan 2004 10:37:25 +0000 (10:37 +0000)] 
Make -B accept a list of values.

18 years agoFixed restore of Solaris 7 ufsdump.
Stelian Pop [Tue, 27 Jan 2004 10:18:17 +0000 (10:18 +0000)] 
Fixed restore of Solaris 7 ufsdump.

18 years agoFixed some compile warnings on Fedora (new glibc)
Stelian Pop [Tue, 27 Jan 2004 10:15:36 +0000 (10:15 +0000)] 
Fixed some compile warnings on Fedora (new glibc)

18 years agoFix compilation with old gcc versions.
Stelian Pop [Sun, 4 Jan 2004 10:48:34 +0000 (10:48 +0000)] 
Fix compilation with old gcc versions.

18 years agoPrepare for 0.4b35 release. release_0_4b35
Stelian Pop [Sun, 21 Dec 2003 09:51:29 +0000 (09:51 +0000)] 
Prepare for 0.4b35 release.