On Thu, Feb 27, 2003 at 03:39:51PM -0500, Joshua Baker-LePain wrote:
> On Thu, 27 Feb 2003 at 11:52am, bao wrote
> > /-- barracuda /junk lev 0 FAILED [/sbin/dump returned 1]
> > | DUMP: You can't update the dumpdates file when dumping a subdirectory
>
> You can't use dump to backup anything that isn't a filesystem. You have
> to use tar here.
Not quite.
On most (all?) dump/ufsdump/xfsdump... you *CAN* backup a subdirectory,
but you *CAN'T* do an incremental of a subdirectory.
If you specify a subdirectory, Solaris ufsdump soundlessly forces
level=0 and ignores the record (u) flag, Linux ext2 dump (I believe)
exits if level > 0 or the u flag is set. This is what Bao is seeing
above.
Both behaviors are appropriately documented in the man pages.
I've got a weekly forced-full amanda config that does ufsdump on
several different subdirectories. Works great, which is more
than I can say for the GNU tar attempt that preceeded it (yes,
I know GNU tar/Amanda/Solaris works great for everybody else
except me! :-)
--
Jay Lessert jay_lessert AT accelerant DOT net
Accelerant Networks Inc. (voice)1.503.439.3461
Beaverton OR, USA (fax)1.503.466.9472
|