Thought on the missing directories

Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]> Tue, 01 Feb 2005 16:09:20 -0500
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
In hdup2, directories are not included in the archive, so you don't get
the correct users/permissions on them when you restore.  I understand
that this is a necessary consequence of building up the filelist for tar
in a separate pass -- you can't put directories into the filelist or
else tar will back up everything in the directory, whether or not you
wanted it to.

I just had a thought that perhaps if what you build in the first pass
and then fed to tar was an _exclude_ list, you might avoid the problems
while maintaining the file-by-file control.  The exclude list could be
much more compact than the include list too, for common situations where
you're backing up pretty much everything.

Bng

-- 
Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]>