Hello,
 
I'm trying to create a FileSet config for one of our FreeBSD jail host machines, and
I'm having a little trouble getting it just right.
 
I have a directory (/u/jail) which has serveral instances of a FreeBSD jail (basically a
virtual server), all under different directories (using their hostnames)
 
So,
 
/u/jail/hostname1/
/u/jail/hostname2/
 
etc,
 
We add new hosts to these quite often, so I'd rather not have to specify each jail
hostname by themselves, but I only want to backup certain directories under the jails.
 
The goals is to backup:
 
/u/jail/*/etc
/u/jail/*/usr/local
/u/jail/*/u
 
but exclude
 
/u/jail/*/u/logs
 
I attempted to use this- not sure if it's right or not, but it looks like it was still trying to
backup something outside of my config, so I'm guessing it's not.
 
--snip--
 
FileSet {
        Name = cust
        Include {
                Options {
                        Signature = MD5;
                        >
 
                        wilddir = "/u/jail/*/etc"
                        wilddir = "/u/jail/*/usr/local"
                        wilddir = "/u/jail/*/u"
                }
                Options {
                        wilddir = "/u/jail/*/u/logs"
                        Exclude = yes
                }
 
                File = /etc
                File = /usr/local
                File = /u/home
 
                File = /u/jail
        }
}
 
--snip--
 
This is bacula-1.38.2 on FreeBSD 5.4
 
Any help would be appreciated.
 
Cheers,
 
Mike

Reply via email to