how to create vm with existing vmdk file

27 views
Skip to first unread message

Adminbirds

unread,
Oct 10, 2019, 10:11:35 AM10/10/19
to Vagrant
Hi

I need to create a vm with existing vmdk file, base machine is centos, How to do in command line

I tried box not up due to UUID mismatch, I have updated .vbox .xml file after creating new UUID, no luck 

Alvaro Miranda Aguilera

unread,
Nov 25, 2019, 4:27:57 PM11/25/19
to vagra...@googlegroups.com
hello

did you found a reply to your question?


--
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/fbd2ad48-06fc-4978-9d1e-e16c9fb980ee%40googlegroups.com.


--
Alvaro

Adminbirds

unread,
Nov 26, 2019, 2:51:20 AM11/26/19
to vagra...@googlegroups.com
Yes I got the answer

vboxmanage internalcommands sethduuid "/data/VirtualBox VMs/data_vm-tempOne_1570715511966_33620/centos-7-1-1.x86_64.vmdk" "ab09cd7e-63df-4370-80e7-7ab0e8a19502"


vboxmanage internalcommands dumphdinfo "/data/VirtualBox VMs/data_vm-tempOne_1570715511966_33620/centos-7-1-1.x86_64.vmdk"


solved the issues ;-)


Adminbirds

unread,
Nov 26, 2019, 3:01:22 AM11/26/19
to vagra...@googlegroups.com
Do you know please help sir..

we have 33 vagrant box running on our physical machine. I need to take entire VM backup to our backup server.

I found this 


Creating as package then copy it to remote location (vagrant package). But while doing vagrant package the box went down, is there is any option to take vagrant package with --no-reboot option.

For 100 GB box it took more than 2 hours to converting as package. we can't afford downtime :-)

One more question, I'm copying the current vmdk files & to remote folder, VM's is in running state, does it cause any data corruption for the box ? while syncing the data to remote location.

Simply my question is how we can take entire vm box backup without reboot box ? anybody knows the answer, please help ;-)

Reply all
Reply to author
Forward
0 new messages