The problem is that your second options clauses matches the directory
"C:/Program Files" so that is excluded and the first options clause is never
used.

Have a look at the example about "My Pictures" in
https://www.bacula.org/13.0.x-manuals/en/main/Configuring_Director.html#SECTION00221100000000000000000
to see how to set it up.

__Martin


>>>>> On Thu, 26 Oct 2023 13:28:39 +0200, Marco Gaiarin said:
> 
> Still there's some things in Bacula that i really dont't understand,
> evidently. ;-)
> 
> 
> I need to backup a windows box; i need to backup entirely the D: drive and
> partially the C: drive. Following documentation and examples, i've wrote:
> 
>  FileSet {
>    Name = ArmeoStd
>    Description = "Backup dati Hocoma/Armeo"
>    Enable VSS = yes
>  
>    Include {
>      File = "C:/"
>  
>      Options {
>        Signature = MD5
>        Ignore Case = yes
>  
>        WildDir = "C:/Program Files*/Hocoma"
>      }
>  
>      Options {
>        Exclude = yes
>  
>        WildDir = "C:/*"
>      }
>    }
>  
>    Include {
>      File = "D:/"
>  
>      Options {
>        Signature = MD5
>        Ignore Case = yes
>      }
>    }
>  }
> 
> 
> Backup on D: works as expected, on C: i got:
> 
>  cwd is: /
>  $ dir
>  drwxrwx--T   1 root     root           12288  2023-10-23 08:45:20  C:/
>  drwxrwx--T   1 root     root            4096  2023-10-23 08:45:17  D:/
>  cd C:/
>  cwd is: C:/
>  dir:/
>  -rwxrwxrwx   1 root     root            1024  2023-10-18 13:09:20  C:/.rnd
>  -rwxrwx--T   1 root     root      3126231040  2023-10-26 11:41:44  
> C:/hiberfil.sys
>  -rwxrwx--T   1 root     root      4168310784  2023-10-26 11:41:44  
> C:/pagefile.sys
> 
> What i'm doing wrong?!
> 
> 
> Thanks...
> 
> -- 
>   Sai come fanno i Serbi ad abbattere i caccia americani?
>   Disegnando una funivia sul terreno...
> 
> 
> 
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to