On Friday 06 July 2007 23:49, Martin Simmons wrote:
> On Thu, 05 Jul 2007 14:16:34 +0200, Søren Thing Andersen said:
> It can't be done with WildDir like that. The basic problem is that your
> exclude case matches C:/Users/foo, so c:/Users/foo/Desktop is never reached.
>
> Something like this might work:
>
> FileSet {
> Name = "Windows Vista"
> Ignore FileSet Changes = yes
> Include {
> Options {
> Ignore Case = yes
> WildDir = "c:/Users/*/Desktop"
> Wild = "c:/Users/*/Desktop/*"
> WildDir = "c:/Users/*/Documents"
> Wild = "c:/Users/*/Documents/*"
> WildDir = "c:/Users/*"
> }
> Options {
> Exclude = yes
> Ignore Case = yes
> Wild = "c:/Users/*/*"
> }
> File = c:/Users
> }
> }
>
>
> __Martin
Hi!
I'm trying to do similar stuff - to backup E:/Hansaraama/*/Backup folders and
I've still got a minor issue with it.
Currently the fileset looks like:
FileSet {
Name = hansaraama-backup
Enable VSS = yes
Include {
Options {
Compression = GZIP
Signature = MD5
Verify = pins5
IgnoreCase = yes
WildDir = "E:/Hansaraama/*/Backup"
Wild = "E:/Hansaraama/*/Backup/*"
WildDir = "E:/Hansaraama/*"
}
Options {
Exclude = yes
IgnoreCase = yes
Wild = "E:/Hansaraama/*"
}
File = "E:/Hansaraama"
}
}
The problem with this is that although it doesn't include any files besides
Backup/*, all the folders are still included, eg.
E:/Hansaraama/server2006/Setup.
How can I avoid these being included?
--
Silver
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|