Nicolas Blanco Mattos
2018-09-17 17:32:51 UTC
Hi everyone!
I have some newbie questions in the best way of using several vagrant
boxes, destroying them, and then spinning them up again.
I am a web developer and I use scotchbox for my local enviroment. I create
a new box downloading scotchbox and creating a new local domain for the IP
the project uses, BUT when I'm done with the project: what is the best way
to free resources without loosing data and not keeping garbage that I won't
use anymore?
Is it ok to make a copy of the database, destroy the box, move the project
files and database to a dropbox folder for storage (for example), and if
some day I need to work on this project again just do a 'vagrant up',
reimport the database, and copy files back again?
Another way would be to move the entire project folder (with the .vagrant)
to the dropbox folder for storage without destroying anytihing and when
needed again just copy it back... but I assume that I am not releasing the
resources that the vritual machine is using, as I am not destroying it and
also some kind of problems could be caused... Am I right? What are your
workflows in this topic?
Thanks!!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8a15276a-be46-4d4e-921c-bb050ccf9a3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have some newbie questions in the best way of using several vagrant
boxes, destroying them, and then spinning them up again.
I am a web developer and I use scotchbox for my local enviroment. I create
a new box downloading scotchbox and creating a new local domain for the IP
the project uses, BUT when I'm done with the project: what is the best way
to free resources without loosing data and not keeping garbage that I won't
use anymore?
Is it ok to make a copy of the database, destroy the box, move the project
files and database to a dropbox folder for storage (for example), and if
some day I need to work on this project again just do a 'vagrant up',
reimport the database, and copy files back again?
Another way would be to move the entire project folder (with the .vagrant)
to the dropbox folder for storage without destroying anytihing and when
needed again just copy it back... but I assume that I am not releasing the
resources that the vritual machine is using, as I am not destroying it and
also some kind of problems could be caused... Am I right? What are your
workflows in this topic?
Thanks!!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8a15276a-be46-4d4e-921c-bb050ccf9a3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.