-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rsync selective folder sync for bidirectional syncing #3188
Comments
I'll make sure this gets in with the rsync-pull stuff. |
I haven't found any online documentation on rsync regarding this flag, but it worked for me.
Using this flag I can rsync from the guest machine to the host machine. |
+1 with this feature. Windows is my host and I need to get some generated files from the guest. |
@tomgud -rz adds recursion and compression, but doesn't change the direction of syncing. |
@kevinastone Thanks, my bad. I guess I just overlooked the setup of my command, which included the guest machine first and host machine second, which will of course do it in reverse. |
I use PuTTY and easily cp files from anywhere on my vagrant to the /vagrant folder and it will show up on the Windows host. The /vagrant folder inside PuTTY is the Windows directory on the host. |
consider using https://github.com/dmatora/vagrant-unison |
Hi all, I'm trying to get sync my files in bidirectional way. Any suggestion about how to do rsync from host to guess and vice verse? additional: Thaks |
After a long time I decided to use nfs instead of rsync by the moment everything works. |
The 1.5 rsync is amazing but for production I feel there is something missing. As mentioned in #3062 rsync-pull would solve some of the problems but I feel it can be solved more completely.
I believe many users of vagrant, work on source files in the host machine, then synchronize that with the guest machine. The output is then for viewing on the host machine.
What I am suggesting is that there is a folder list that can be configured such as
This would allow users to have bidirectional rsync on selective folders when users know what should be overwritten by the guest machine, and what should be overwritten by the host machine.
I imagine this could have other benefits for those who want to use rsync.
The text was updated successfully, but these errors were encountered: