[Box Backup] Exclude Dirs

Chris Wilson boxbackup@fluffy.co.uk
Wed, 2 Jan 2008 13:30:50 +0100 (CET)


Hi Matt,

On Wed, 2 Jan 2008, Matt Brown wrote:

> Hope Xmas & New Year was a good one.

Yeah, I'm still recovering and I didn't even drink :-) Hope it was for you 
too.

> Just a quick question if I may, I backup a server for a client who does 
> not wish to backup certain directories.
>
> The structure is like:
>
> /data/shared
> /data/shared/apps
> /data/shared/apps/archive
> /data/mgt
> /data/mgt/archive
>
> etc
>
> Is it possible to do a global exclude for the archive directory - which 
> could appear under any folder/dir on the server ? without adding 
> explicit ExcludeDir = /data/shared/apps/archive etc for each instance ?
>
> I know its possible to regex for files in this way, but was not sure if 
> it would work for Dir names ?

Yes, use ExcludeDirsRegex. Works just like ExcludeFilesRegex.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |