Re: Re: hdup2 issues

Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]> Thu, 05 May 2005 11:44:06 -0400
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
On Tue, 2005-05-03 at 20:33 +0200, Miek Gieben wrote:
> But there are also some things that are lacking. Hdup2 now has the
> nobackup stuff, with 'dar' I can try to fake this, but it looks
> difficult to do.

If you're willing to do two passes, you could generate a list of
directories containing .nobackup and pass it as an exclude list.

>  Also the include/exclude stuff uses the good old
> globbing patterns - which I just kicked out hdup. 

Looks like regexps are under development for the next version.

> But the main thing
> is that 'dar' cannot use a filelist with files that should be backed
> up. (There looks to be some support for this in the latest versions,
> but this doesn't help hdup now).

According to the bug tracker, file lists were requested and added to
version 2.2.0.  They don't seem to be mentioned in the man page,
however.
   http://sourceforge.net/tracker/index.php?
func=detail&aid=866614&group_id=65612&atid=511615

Alternatively, hdup could be compiled against libdar rather than trying
to generate a command line.  Then you can have complete control over
what files get backed up.  It's c++, so could presumably even override
the testing function to do your own sorts of checks -- check
for .nobackup files or test against regexps.

   http://dar.linux.free.fr/api_tutorial.html

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