Re:Asynchronous filesystem replication with FUSE and rsync
by geerlingguy on Thursday December 11, 2014 @12:55PM
(#8736096)
It's one-time right now (though there's an open ticket to make it bidirectional [1]), but you can use `vagrant rsync-auto` to watch for changes and continously sync. I posted an article a few weeks ago highlighting one of the reasons I use rsync rather than NFS shares with Vagrant [2].
Though I would love to see FUSE+rsync (like this article mentions) as a default/standard option in Vagrant!
[1] https://github.com/mitchellh/vagrant/issues/3062
[2] http://www.midwesternmac.com/blogs/jeff-geerling/nfs-rsync-a...
Re:Asynchronous filesystem replication with FUSE and rsync
by Lethalman on Thursday December 11, 2014 @11:14AM
(#8735531)
Vagrant could run inotify+rsync periodically from both ends. It works for few files.
SFS is when doing an rsync of a whole tree is not an option, in case of a big number of files.
From Vagrant's documentation:
The disadvantage of the above is that it's a one-time, one-way sync. SFS would overcome this limitation, if I'm not mistaken.[1] http://docs.vagrantup.com/v2/synced-folders/rsync.html