Re: [Bacula-users] Exclude Directories containing specific Dirs or Files
2008-10-01 08:15:54
Hey Guys,
thanks for your help and tips.
I'll try the "ignoredir" Option and i'll take a look at he SVN Version.
But if everythings fails i'll write a script, that should do the trick.
I let u know how it works out for me.
Anymore suggestions would be great.
Thanks a lot
Boris Kunstleben
Administration
--
Mit freundlichen Grüßen aus Aachen
i.A. Boris Kunstleben
Administration
--------------------------------------------------------------------------------------
onOffice Software GmbH
Feldstr. 40
52070 Aachen
Tel. +49 (0)241 44686-0
Fax. +49 (0)241 44686-250
Email: b.kunstleben AT onOffice DOT de
Web: www.onOffice.com
--------------------------------------------------------------------------------------
Registergericht: Amtsgericht Aachen, HRB 12123
Geschäftsleitung: Stefan Mantl, Torsten Kämper, Stefan Becker
--------------------------------------------------------------------------------------
----- Ursprüngliche Nachricht -----
Von: Arno Lehmann <al AT its-lehmann DOT de>
Gesendet: Mittwoch, 1. Oktober 2008 09:57:44
An: <bacula-users AT lists.sourceforge DOT net>
Betreff: Re: [Bacula-users] Exclude Directories containing specific Dirs or
Files
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
-------------------------------------------------------------------------
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
|
|
|