Re: [Bacula-users] ignored entries in FileSet
2011-05-04 23:07:08
--- On Wed, 5/4/11, Martin Simmons <martin AT lispworks DOT com> wrote:
> You need to include the intervening directories, but not
> their contents, as in
> http://www.mail-archive.com/bacula-users AT lists.sourceforge DOT
> net/msg33689.html
Thanks for your help! The link was very helpful, and I got the basics working.
Here is my current FileSet:
"""
FileSet {
Name = "FreeBSDConfigs"
Include {
Options {
RegexDir = "^/usr/jails/[^/]+$"
WildDir = "/usr/jails/*/etc"
Wild = "/usr/jails/*/etc/*"
WildDir = "/usr/jails/*/usr"
WildDir = "/usr/jails/*/usr/local"
WildDir = "/usr/jails/*/usr/local/etc"
Wild = "/usr/jails/*/usr/local/etc/*"
}
Options {
RegexDir = ".*"
Wild = "/usr/jails/*"
Wild = "*/defaults/*"
Wild = "*/periodic/*"
Wild = "*/rc.d/*"
exclude = yes
}
File = /etc
File = /usr/local/etc
File = /usr/jails
}
}
"""
Is it necessary to specify both of these lines?
WildDir = "/usr/jails/*/etc"
Wild = "/usr/jails/*/etc/*"
Will Bacula backup a directory, but not its contents?
Also, although I've specified to exclude the defaults, periodic, and rc.d
directories, they are still listed in the job estimate. What am I doing wrong?
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|