>>>>> On Thu, 05 Jul 2007 14:16:34 +0200, Søren Thing Andersen said:
>
> I would like to backup the Desktop and Documents folders for all users
> on a Windows Vista machine.
> For this I have the following fileset:
> FileSet {
> Name = "Windows Vista"
> Ignore FileSet Changes = yes
> Include {
> Options {
> Ignore Case = yes
> WildDir = "c:/Users/*/Desktop"
> WildDir = "c:/Users/*/Documents"
> }
> Options {
> Exclude = yes
> Ignore Case = yes
> WildDir = "c:/*"
> }
> File = c:/Users
> }
> }
>
> However, it does not work as intended:
> #estimate job=tk listing fileset="Windows Vista"
> Using Catalog "MyCatalog"
> Connecting to Client tk-fd at 192.168.1.106:9102
> -rwxrwx--T 1 0 0 174 2006-11-02 13:50:56
> c:/Users/desktop.ini
> d-wx-wx-wx 1 0 0 4096 2006-11-02 12:18:33 c:/Users
> 2000 OK estimate files=2 bytes=174
>
> I have tried the following alternatives to WildDir = "c:/*":
>
> Wild = "*" or Regex = ".*"
> #estimate job=tk listing fileset="Windows Vista"
> Using Catalog "MyCatalog"
> Connecting to Client tk-fd at 192.168.1.106:9102
> d-wx-wx-wx 1 0 0 4096 2006-11-02 12:18:33 c:/Users
> 2000 OK estimate files=1 bytes=0
>
> RegexDir = ".*"
> #estimate job=tk listing fileset="Windows Vista"
> Using Catalog "MyCatalog"
> Connecting to Client tk-fd at 192.168.1.106:9102
> -rwxrwx--T 1 0 0 174 2006-11-02 13:50:56
> c:/Users/desktop.ini
> d-wx-wx-wx 1 0 0 4096 2006-11-02 12:18:33 c:/Users
> 2000 OK estimate files=2 bytes=174
>
> Any suggestions?
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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users