[Bacula-users] Include Dir Containing?
2011-02-22 05:10:40
Hi list,
I know there is an option for filesets to exclude directories containing
a specific file (Exclude Dir Containing). Now I was wondering if there
is an easy way do it the other way around, i.e. only include directories
containing a specific file? I don't think this can be done with
Regex(|dir|file) or Wild(|dir|file).
The background is that I'd like to let the users in my environment
decide what should be backed up in their home directory and what shouldn't.
Of course I could do something like this:
FileSet {
Name = "HomeDirs"
Ignore FileSet Changes = yes
Include {
Options {
signature = ...
...
}
File = "\\|find /export/home -type f -name '.backmeup' \
-exec dirname {} \;"
}
}
But I'd rather get it done with what Bacula offers, if possible. Any
help would be appreciated.
Regards,
Christian Manal
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Include Dir Containing?,
Christian Manal <=
|
|
|