On 10/8/20 5:00 AM, Radosław Korzeniewski wrote:
Hello,

śr., 7 paź 2020 o 13:59 Рукавцов Дмитрий Геннадьевич <m...@santel-navi.ru <mailto:m...@santel-navi.ru>> napisał(a):

    "Enable VSS = no" as i said not solving this problem, and i dunno
    why, i don't care about locks. Bacula can't just copy files?

AFAIK, Windows is limited in such a way that it prohibits opening in different processes an already opened file. To workaround this fundamental problem the one has to create a filesystem snapshot (VSS is a framework for it) where you can open every file. In my opinion it has nothing to do with a deduplication filesystem.


In Windows you must care about locks. Files are opened in Windows with both an access mode and a share mode (ie. lock mode). If share mode is set to zero, then no other process may open the file, even as superuser. Otherwise, for any other share mode, other processes may open the file. So, most opened files could be opened for read by the bacula-fd process and backed up normally. But there are a few, mostly system files, that cannot be backed up without VSS because they are opened in exclusive mode (with no sharing).

It is possible to turn off VSS and then exclude those system files in the FileSet definition.



best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>


_______________________________________________
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
  • [Bacula-users] Back... Рукавцов Дмитрий Геннадьевич
    • Re: [Bacula-us... Radosław Korzeniewski
      • Re: [Bacul... Рукавцов Дмитрий Геннадьевич
        • Re: [B... Рукавцов Дмитрий Геннадьевич
          • Re... Radosław Korzeniewski
            • ... Žiga Žvan
              • ... Рукавцов Дмитрий Геннадьевич
                • ... Radosław Korzeniewski
                • ... Josh Fisher
          • Re... Martin Simmons

Reply via email to