On 07/06/11 10:08, dobbin wrote:
Hello there, we've got one particular server backing up to a slightly
older debian server running bacula 2.44.
There's way too much stuff on the server to backup but the only
important files are ones with *foo* in the filename
I want to backup every file in D:/media and all of it's
subdirectories (of which there are many) with *foo* in the name.
I'm having a bugger of a time figuring out the syntax, can anyone
point me in the right direction?
#############################
This is probably a good case for piping your Fileset from a simple
script (which probably needn't be much more than a 'find / -iname \*foo\*').
Oh, and you should probably use the 'ignore fileset changes' option.
###############################
that would be a good idea, except it's a windows server and I'm phobic about
bat files these days. Anyway, I think I got it
FileSet {
Name = "servername Full Set"
Include {
Options {
compression = GZIP
signature = MD5
WildFile = "*foo*"
}
Options {
Exclude = yes
WildFile = "*"
}
file = d:/
}
}
it makes sense if you read it from bottom to top.
Look in D:/
Exclude everything
Include *foo*
it works fine on a test of a single directory, I'm just running a larger test,
fingers crossed
+----------------------------------------------------------------------
|This was sent by tibus.support AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|