Answer the question
In order to leave comments, you need to log in
What is the best way to implement continuous synchronization of files and their permissions between two servers on Linux and Windows?
There are two servers remote from each other on Ubuntu 16.04 and Win2012r2.
Both are pulled into the same domain with AD, both have file balls with many different access rights through AD.
In the balls of the order of 3 million. files in 400 thousand. directories. Just over 3TB of data.
The whole thing must be continuously synchronized with minimal delays between servers at least in one direction (from Linux to Windows) and, preferably, free solutions.
Considered options:
Resilio Sync - does not know how to synchronize extended attributes (xattr, ACLs), there is Connect, but there is already a fee,
Syncthing - also does not know how to synchronize extended access rights,
rsync - everything is perfectly synchronized, but it takes a long time to build a directory tree,
lsyncd - cannot be synchronized with Windows, tried to mount a Windows share via CIFS, but there is no inotify and nothing happened,
osync - also failed to synchronize with a mounted Windows CIFS directory, gives
No inotifywait command found. Cannot monitor changes.
-repeat watch -fastcheck true
faster than all the others, but on large amounts of data I did not wait for the initial build to finish, ROBOCOPY \\serv01\share \\serv02\share /MIR /SEC /Z /R:1 /W:5 /REG /MT:32 /MON:1 /SECFIX /NFL
Answer the question
In order to leave comments, you need to log in
Out of personal interest, I will add a question to the community: this problem does not exist in the Windows + Windows bundle (via DFS replication), but are there any alternatives that NORMALLY work in a similar way to DFS? Those. forming a replication buffer on the fly, with differential data compression, tracking rights, alternative file streams, STABLE, and at the same time not giving up like Sync in front of a storage that is somewhat larger and more complex than a home photo archive?
Samba has some kind of DFS support .
Perhaps in vain they abandoned the idea with DFS?
I'm not sure, but perhaps Samba shares can be added to the Folder Targets Namespaces, or set up one-way DFSR with Windows shares on the Samba share.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question