Re: Fwd: Hdup feature suggestion
Miek Gieben <[email protected]> Thu, 30 Sep 2004 14:59:35 +0200
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
[On 30 Sep, @ 14:53, James wrote in "[hdup-user] Fwd: Hdup feature ..."] > (Sorry if you get this twice, I sent to frodo.miek.nl before an it > appeared to bounce) hmm, I've changed my mail setup. I will look into it, but .miek.nl is preferred anyway. > Hi - I was just thinking it would be really nice to tell hdup to > ignore a directory or directory heirarchy by placing a file actually > in that directory, sort of like .htaccess. This would be useful > because frequently I will put large files in a public location so > people can download them, but I don't want them backed up. > > Rather than having to specifically configure hdup to exclude that > directory for one time, it would be nice if I could add a file called > ".hdup" which might contain a directive like "exclude=yes" or > "exclude=yes, recurse=yes" to tell it to exclude this directory and > all subdirectories. > > I suppose for this to work, hdup would need to scan the filesystem > first and make a list of all directories to exclude. > > What do you think? This sort of change is scheduled for 1.6.37. The whole include/exclude mechanism of tar sucks. The only drawback of this is that you need 2 passes - one for find and then the actual backup of tar. which could lead to races and such, but the per user/per directory exclude is really nice to have. Any ideas for an exclude/include filename? .hdup_ignore?? grtz Miek