xfs
[Top] [All Lists]

Re: [PATCH] xfsdump: incremental dump directory selection

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfsdump: incremental dump directory selection
From: Bill Kendall <wkendall@xxxxxxx>
Date: Fri, 28 Oct 2011 08:32:30 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20111028093752.GB23069@xxxxxxxxxxxxx>
References: <1319214933-16276-1-git-send-email-wkendall@xxxxxxx> <20111028093752.GB23069@xxxxxxxxxxxxx>
User-agent: Thunderbird 1.5.0.14ubu (X11/20080502)
Christoph Hellwig wrote:
On Fri, Oct 21, 2011 at 11:35:33AM -0500, Bill Kendall wrote:
When doing incremental backups, xfsdump does a recursive scan through
the filesystems to determine the proper set of unchanged directories
to include in the dump in order to make the dump self-contained
(allowing files to be restored from this dump without applying the
base dumps first).

For high-inode count filesystems, the recursive scan may consume a
significant portion of the backup time. This patch adds a -D option
which causes xfsdump to skip the recursive scan. Unchanged directories
will not be dumped, so the base dump(s) will have to be loaded prior
to restoring files from the dump. When restoring files from such a
dump, a message is issued to alert the user that files may end up in
the orphanage if the base dump(s) has not been applied.

Any chance you could submit some xfstests coverage for this feature?

Sure, will do.

Bill

<Prev in Thread] Current Thread [Next in Thread>