]>
git.wh0rd.org Git - dump.git/log
Stelian Pop [Fri, 11 Jun 2010 11:19:17 +0000 (11:19 +0000)]
Fix some warn_unused_result compile warnings
Stelian Pop [Fri, 11 Jun 2010 09:57:31 +0000 (09:57 +0000)]
Create UNIX sockets instead of dummy files
Stelian Pop [Fri, 11 Jun 2010 09:51:59 +0000 (09:51 +0000)]
Extract backuped sockets as dummy files.
Stelian Pop [Thu, 10 Jun 2010 12:17:35 +0000 (12:17 +0000)]
Use only ctime to compare newness (instead of both ctime and mtime)
Stelian Pop [Thu, 10 Jun 2010 12:01:30 +0000 (12:01 +0000)]
Improve level 1 mapdirs speed.
Stelian Pop [Wed, 28 Apr 2010 09:29:35 +0000 (09:29 +0000)]
Bump estimate blocks to long long to cope with huge dumps.
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.
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.
Stelian Pop [Mon, 8 Mar 2010 10:57:24 +0000 (10:57 +0000)]
Replace ext2/3 by ext2/3/4 in the man page.
Stelian Pop [Mon, 8 Mar 2010 10:40:52 +0000 (10:40 +0000)]
Don't attempt to extract EA in 'restore -N' mode.
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
Stelian Pop [Thu, 3 Dec 2009 12:46:29 +0000 (12:46 +0000)]
Fix restoration of extended attributes for fifos and device nodes.
Stelian Pop [Mon, 7 Sep 2009 08:51:04 +0000 (08:51 +0000)]
Remove -lselinux -lsepol from standard libs list.
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.
Stelian Pop [Thu, 23 Jul 2009 09:34:07 +0000 (09:34 +0000)]
Use OPEN() instead of open() for toc files.
Stelian Pop [Thu, 18 Jun 2009 10:17:58 +0000 (10:17 +0000)]
Prepare for 0.4b42 release
Stelian Pop [Thu, 18 Jun 2009 10:00:38 +0000 (10:00 +0000)]
Add ext4 filesystem support.
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.
Stelian Pop [Thu, 18 Jun 2009 09:42:11 +0000 (09:42 +0000)]
Restore does not allow -P and -A at the same time.
Stelian Pop [Thu, 18 Jun 2009 09:40:03 +0000 (09:40 +0000)]
Spelling fixes in the man pages.
Stelian Pop [Thu, 18 Jun 2009 09:36:52 +0000 (09:36 +0000)]
Fix the default dump level in man page (0 not 9)
Stelian Pop [Thu, 18 Jun 2009 09:35:14 +0000 (09:35 +0000)]
Fix dump output message when using default level.
Stelian Pop [Thu, 4 Sep 2008 19:21:07 +0000 (19:21 +0000)]
The Tower of Hanoi example wasn't.
Stelian Pop [Mon, 9 Jun 2008 13:25:40 +0000 (13:25 +0000)]
Fix EA restore in debug mode.
Stelian Pop [Wed, 4 Jun 2008 19:27:47 +0000 (19:27 +0000)]
Fix QFA file generation.
Stelian Pop [Sun, 18 May 2008 08:08:17 +0000 (08:08 +0000)]
Yet more improvements to cron_dump_to_disk.
Stelian Pop [Wed, 14 May 2008 09:24:58 +0000 (09:24 +0000)]
More improvements from Aaron S. Hawley <aaron.s.hawley@gmail.com>.
Stelian Pop [Tue, 13 May 2008 15:13:20 +0000 (15:13 +0000)]
More improvements from Aaron S. Hawley <ashawley@sourceforge.net>
Stelian Pop [Mon, 5 May 2008 09:25:27 +0000 (09:25 +0000)]
Improvements to cron_dump_to_disk
Stelian Pop [Fri, 18 Apr 2008 08:42:47 +0000 (08:42 +0000)]
More cleanup fixes.
Stelian Pop [Thu, 17 Apr 2008 15:29:47 +0000 (15:29 +0000)]
Cleanup output of cron_dump_to_disk example.
Stelian Pop [Thu, 17 Apr 2008 15:26:46 +0000 (15:26 +0000)]
Force -a when in 'restore -C' mode.
Stelian Pop [Thu, 17 Apr 2008 15:22:56 +0000 (15:22 +0000)]
In restore -C, encountering an unexpected file is not an error.
Stelian Pop [Thu, 17 Apr 2008 15:19:12 +0000 (15:19 +0000)]
Link against libtinfo if present.
Stelian Pop [Thu, 17 Apr 2008 15:16:47 +0000 (15:16 +0000)]
Fix "mode file too large" errors when restoring huge backups.
Stelian Pop [Thu, 22 Feb 2007 20:16:23 +0000 (20:16 +0000)]
Fix the EA set failures when restoring immutable files
Stelian Pop [Thu, 22 Feb 2007 20:12:50 +0000 (20:12 +0000)]
Fix SELinux xattr handling.
Stelian Pop [Thu, 22 Feb 2007 20:02:35 +0000 (20:02 +0000)]
Explicitly link with '-ldevmapper -lselinux -lsepol' (from Fedora .src.rpm)
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).
Stelian Pop [Tue, 14 Mar 2006 11:09:50 +0000 (11:09 +0000)]
Fix dump -w/-W output, again...
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.
Stelian Pop [Mon, 2 Jan 2006 15:24:22 +0000 (15:24 +0000)]
Prepare for release 0.4b41
Stelian Pop [Mon, 2 Jan 2006 15:13:29 +0000 (15:13 +0000)]
Prepare for release 0.4b41
Stelian Pop [Mon, 2 Jan 2006 09:35:08 +0000 (09:35 +0000)]
BuildRequires: ncurses-devel
Stelian Pop [Sat, 20 Aug 2005 21:00:47 +0000 (21:00 +0000)]
Fix toc file to not include extended attributes information.
Stelian Pop [Thu, 7 Jul 2005 09:16:03 +0000 (09:16 +0000)]
Make the directory hashtable optional and controled via restore -H
Stelian Pop [Thu, 7 Jul 2005 08:47:13 +0000 (08:47 +0000)]
Fix restore when symtab file is over 2GB in size.
Stelian Pop [Wed, 8 Jun 2005 13:24:08 +0000 (13:24 +0000)]
Fix big endian issues with EA/ACL
Stelian Pop [Wed, 8 Jun 2005 09:34:33 +0000 (09:34 +0000)]
Fix restore of ACLs.
Stelian Pop [Wed, 1 Jun 2005 13:44:35 +0000 (13:44 +0000)]
Explain some caveats with dump -m in the man page.
Stelian Pop [Sat, 28 May 2005 18:34:47 +0000 (18:34 +0000)]
Fix code to not require ISO C99.
Stelian Pop [Mon, 2 May 2005 15:13:40 +0000 (15:13 +0000)]
Prepare for release 0.4b40.
Stelian Pop [Mon, 2 May 2005 15:10:43 +0000 (15:10 +0000)]
Added EA/ACL support in dump and restore.
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.
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.
Stelian Pop [Fri, 18 Mar 2005 22:12:54 +0000 (22:12 +0000)]
Fix another hashtree bug in restore causing "removenode: non-empty directory"
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
Stelian Pop [Fri, 25 Feb 2005 13:44:32 +0000 (13:44 +0000)]
Remove a few unneeded Nflag
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.
Stelian Pop [Mon, 24 Jan 2005 10:37:58 +0000 (10:37 +0000)]
Small missing \n
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.
Stelian Pop [Fri, 21 Jan 2005 09:27:26 +0000 (09:27 +0000)]
prepare for release 0.4b39
Stelian Pop [Fri, 14 Jan 2005 13:04:56 +0000 (13:04 +0000)]
Force restore -C to imply -N
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).
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()).
Stelian Pop [Thu, 13 Jan 2005 15:41:05 +0000 (15:41 +0000)]
chdir() back to the initial directory when abort()ing.
Stelian Pop [Thu, 13 Jan 2005 12:13:46 +0000 (12:13 +0000)]
Updated buggy example.
Stelian Pop [Fri, 7 Jan 2005 13:30:29 +0000 (13:30 +0000)]
Prepare for 0.4b38 release.
Stelian Pop [Fri, 7 Jan 2005 09:51:06 +0000 (09:51 +0000)]
Added a new dump on cd/dvd script.
Stelian Pop [Wed, 15 Dec 2004 11:00:00 +0000 (11:00 +0000)]
Better comparision (including directories).
Made restore understand tapes with EA/ACLs.
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.
Stelian Pop [Tue, 14 Dec 2004 14:07:56 +0000 (14:07 +0000)]
Hashlist implementation for directory entries in restore.
Stelian Pop [Tue, 14 Dec 2004 11:21:48 +0000 (11:21 +0000)]
Fix the exclusion of directory entries of inodes from the dump.
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.
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)
Stelian Pop [Mon, 22 Nov 2004 10:22:40 +0000 (10:22 +0000)]
Exclude directory entries to non-dumped inodes from the dump.
Stelian Pop [Mon, 16 Aug 2004 09:39:45 +0000 (09:39 +0000)]
Fixed negative size displays in restore
Stelian Pop [Tue, 20 Jul 2004 15:52:58 +0000 (15:52 +0000)]
Test for libncurses, then libtermcap when --enable-readline'ing
Stelian Pop [Tue, 13 Jul 2004 08:17:30 +0000 (08:17 +0000)]
Troff syntax fixes in the man pages.
Stelian Pop [Wed, 7 Jul 2004 13:34:06 +0000 (13:34 +0000)]
Prepare for release 0.4b37
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.
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.
Stelian Pop [Mon, 5 Jul 2004 15:02:32 +0000 (15:02 +0000)]
Made dump use blkid library.
Stelian Pop [Thu, 1 Jul 2004 09:14:48 +0000 (09:14 +0000)]
Fixed an offset calculation leading to bread lseek errors.
Stelian Pop [Thu, 17 Jun 2004 09:01:13 +0000 (09:01 +0000)]
Fix SIGSEGV when reading a hand-modified dumpdates file.
Stelian Pop [Wed, 2 Jun 2004 09:22:48 +0000 (09:22 +0000)]
Fix compilation on AMD64
Stelian Pop [Tue, 25 May 2004 10:39:29 +0000 (10:39 +0000)]
Fix a couple of gcc 3.3.3 warnings.
Stelian Pop [Mon, 24 May 2004 12:39:23 +0000 (12:39 +0000)]
Add --enable-staticz configure option.
Stelian Pop [Wed, 21 Apr 2004 09:18:49 +0000 (09:18 +0000)]
Prepare for dump 0.4b36 release.
Stelian Pop [Wed, 21 Apr 2004 09:15:08 +0000 (09:15 +0000)]
Fix some compile warnings.
Stelian Pop [Wed, 21 Apr 2004 08:55:48 +0000 (08:55 +0000)]
Make dump understand any integer as the dump level.
Stelian Pop [Tue, 13 Apr 2004 13:03:55 +0000 (13:03 +0000)]
Made restore understand FreeBSD UFS2 dumps.
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).
Stelian Pop [Wed, 10 Mar 2004 16:26:30 +0000 (16:26 +0000)]
Back in the backed out block estimate patch. :)
Stelian Pop [Mon, 8 Mar 2004 14:12:56 +0000 (14:12 +0000)]
Back out the block estimate patch.
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.
Stelian Pop [Mon, 1 Mar 2004 15:38:10 +0000 (15:38 +0000)]
Another try at fixing size estimate.
Stelian Pop [Mon, 1 Mar 2004 10:52:53 +0000 (10:52 +0000)]
Fix '-B list of values' patch.
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.
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