Mandi! Martin Simmons
  In chel di` si favelave...

> 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.

OK, now i use:

FileSet {
  Name = ArmeoStd
  Description = "Backup dati Hocoma/Armeo"
  Enable VSS = yes

  Include {
    File = "C:/"

    Options {
      Signature = MD5
      Ignore Case = yes

      WildDir = "C:/Program Files*"
      WildDir = "C:/Program Files*/Hocoma"
      Wild = "C:/Program Files*/Hocoma/*"
    }

    Options {
      Exclude = yes
      Ignore Case = yes

      Wild = "C:/*"
    }
  }

  Include {
    File = "D:/"

    Options {
      Signature = MD5
      Ignore Case = yes
    }
  }
}


And worked, but i found in backup also *ALL* the folders/directory in
'C:/Program Files' and 'C:\Program Files (x86)'. Only the folder, not the
files. Files are correctly only in the 'Hocoma' dir.


reading the manual in the link above, i supposed that the row:

      WildDir = "C:/Program Files*"
      WildDir = "C:/Program Files*/Hocoma"

was needed to ''descend'' in the Hocoma dir, but this behaviour make me
suppose that probably:

        Wild = "C:/Program Files*/Hocoma/*"

suffices... i've tried to remove them, and does not work: 'C:/' virtual file
in bacula was empty.


So Still at the cost of backing up a bunch of empty folder, i can backup my
dir; and this still puzzled me a bit...


Thanks.

-- 
  Ogni giorno un sistemista Nt si sveglia... e sa che dovrà lavorare.
  Ogni giorno un sistemista Linux si sveglia... alle 13.00, per il pranzo.
  Non importa che tu sia sistemista Nt o Linux... tanto ti pagano uguale!!!




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

Reply via email to