[Samba] samba 4.13: backup script: FileNotFoundError
Michael Evans
michael.evans at nor-consult.com
Mon Nov 22 09:38:50 UTC 2021
-----Original Message-----
>
> However in general [sysvol] and [netlogon] should be real shares with
> the sync occouring server-side, not by forcing the client to a
> particular DC, as otherwise you don't have redundency. (However, the
> issue of how to sync and ensuring updates happen on the right DC is
> problemtatic).
>
> Andrew Bartlett
>
One hack-ish way around this today might be a Union Filesystem that has an
upper writable area and a lower store for the replicated data.
https://en.wikipedia.org/wiki/UnionFS
Periodically (e.g. every 5 min) a synchronization script could run that
would look for new files across all DCs currently online and push the newest
file to the underlying store on each DC (if it were newer than existing
files) before purging that file entry from the upper writable areas.
Faster and probably more efficient, (event) Push rather than Pull
replication.
Samba could also be improved to support that:
1) Provide a single modify storage location entry (implicitly mirror
directories from beneath) to eliminate the dependency on UFS or another
similar solution.
2) Trigger an external program OR write to a FIFO / file (blind append),
with the relative path of a file, each time a file is written. Preferably
terminated by a \0 for use with traditional shell automation ( | xargs -0
... )
More information about the samba
mailing list