I'm trying to syncrhonize two folders on two different nas. Sadly there is no chance, that the nas can replicate to the other or synchronize with the other nas. By now i synchronize the folder via sftp over a ftp-client which loads the file from one server and uplaods it to the other. Because one of the nas is in the local network, the speed is ok for downloading of the first nas.
For this solution there is one lack. My Laptop or pc needs to be constantly on. Working on this i cam up with the idea to move this process to an raspberry pi.
Currently i can mount both nas with sshfs and it works good. Also i can copy from the first to the second nas. Now i'm working on the sync. Therefore i'm willing to use unison. rsync seems to be designed to replicate all data and not to synchronize (both ways).
The problem i run into is, that using unison is quite slow. this si the config file i use
<folders etc...>
batch = true
auto = true
perms = 0
fastcheck=true
ignoreinodenumbers=true
It seems that the first check for changes needs a bit of time, but after the upload to the remote nas unisons seems to download the file again to check it.
Is there a possibility to fasten the synchronization between two remote folders? Maybe with a additional parameter that i don't have found? Thanks in advance