Hello,

On 6/28/2006 10:04 AM, Moritz Bunkus wrote:
> Hey,
> 
> we've been using Bacula for quite some time now. Before that we were
> using Arkeia,

(shudder...)

> and one feature I rather liked about Arkeia was that you
> could simply create a file called .ARK_NOBACKUP in a directory and
> Arkeia would exclude that directory and all of its children from the
> backup.
> 
> This allowed not only the administrator but also normal users to
> selectively exclude stuff

Yes, I always considered that a security risk. I'm glad you agree ;-)

> from their home directories, e.g. a download
> directory containing a couple of ISO images or something like that. All
> of our users (of which we don't have that many) know that they can
> easily shoot themselves in their collective feet with this if they put
> such a file into the wrong directory, so I'm not concerned about them
> excluding important directories too much.

Ok, then...

> Now, how could I achieve something like this with Bacula? My current
> idea is to have a small Perl script find all directories with such a
> file and to use that like...
> 
> FileSet {
>   Name = "..."
>   Include {
>     ...
>   }
>   Exclude {
>     File = "\\|bacula_exclude_dirs.pl"
>   }
> }
> 
> Would that work? Problem is that this might take quite a while for huge
> file systems. But after searching the docs again I couldn't find another
> way.

That seems to be the only working solution.  Also, you could do other, 
interesting, things in such a script. For example, I use a script to 
create not only a file set for one job, but also conrol some programs in 
it - mail server backup, for example.

This has been discussed once, and IIRC Kern didn't like the idea to 
allow such simple user control over backup operations but would accept a 
patch to allow it, as long it would need explicit enabling.

One other solution you could use is to create the file set by a script 
and then include that list. This might allow to separate the file system 
scan from the backup run (interesting in case you want to control the 
clients load).


Arno

> Regards,
> Mosu
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to