Bacula-users

Re: [Bacula-users] Exclude Directories containing specific Dirs or Files

2008-10-01 04:02:13
Subject: Re: [Bacula-users] Exclude Directories containing specific Dirs or Files
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 01 Oct 2008 09:57:44 +0200
Hi,

01.10.2008 08:45, Boris Kunstleben onOffice Software GmbH wrote:
> Hi there,
> 
> I want to exclude Directories which contain specific directories.
> 
> For example i have an directory "work" there is a subdirectory .SVN. So the 
> Directory "Work" ist the working copy of an SVN repository which doesn't need 
> to be backup.
> So what i want to do is someting like that:
> if (dir contains ".SVN")
> exclude dir
> else
> do backup
> 
> Is there a way to configure Bacula like that?

Perhaps the "ignoredir" option in include options of recent versions 
(I don't know which version introduced this) can do that.

A look at the code seems to confirm that it also honors directories.

I don't see any documentation, though... "ignoredir = ".SVN"" in the 
exclude options of that fileset should work.

Arno

> Thanks for your help
> Boris Kunstleben
> Administration
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users