-
Notifications
You must be signed in to change notification settings - Fork 849
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
Clarify VVV in Dropbox #88
Comments
You are correct! Multiple boxes will accumulate by utilizing Dropbox as the id changes. While not a nice solution here is what I have done to avoid it in Windows:
Still have to be careful with both VMs running as the databases might conflict due to them being in use. |
Awesome, thanks @teraphy! Any chance that this can happen when using only one system? I think they symptom has come up there as well when just using Dropbox as a cheap backup. |
I now see you meant one system. I figured with a Dropbox you were sharing. |
Closing this out with some info for future viewers:
|
I just learned about the VAGRANT_DOTFILE_PATH env variable here: This simple change enables one vagrant environment on Dropbox or Copy (http://www.copy.com) by creating unique .vagrant directories for each computer. I did this on three different macs for vvv-apache and it worked perfectly. I now have vvv-apache shared across three macs using Copy (similar to Dropbox).
Here's how it's done on each computer ...
Hope you find this helpful! |
@simspace-dr I've confirmed that this works (thanks); however, instead of modifying the Cheers. |
@simspace-dr @jeremyfelt @kopepasah:
Thanks! |
@colin-marshall it is my understanding that syncing databases between machines is not possible, since there will be an entirely different machine. |
@kopepasah ok thanks, that answers my 2nd question. I believe it is possible to do but it would involve writing a script that would import the database backup files (created by the vagrant triggers plugin) on every Were you just doing that manually @kopepasah or just not messing with the database on one of the systems? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This isn't really a VVV problem, but we're in a decent place to figure it out and at least document it somewhere. I'm not entirely sure it's a problem yet either.
It seems that strange things can happen if you initiate a
vagrant up
from within a Dropbox directory. My working theory is that the.vagrant/
directory created during the process syncs with Dropbox and then somehow loses track of its uniqueness at some point, so when you dovagrant halt
andvagrant up
again, a second VM launches in Virtualbox and causes strangeness.Totally unverified. And now that I'm writing this up without the book in front of me, I forget the setting that can be changed (I think) to move the
.vagrant/
directory somewhere else.All aside. I want to test VVV in Dropbox and see if we can clarify some behavior around it.
The text was updated successfully, but these errors were encountered: