Page 1 of 1

Exporting a VM to a server

Posted: 27. Jun 2020, 15:38
by MERRi
Hello,

I have a LAMP server, running on a Debian Buster 10.4 VM. I would like to know if I can export my virtual machine to a physical one.
I have many configuration files, and a site WEB running on it. I really would like to have it all on my PC.

Is it only possible ? I've seen that I could convert the .vdi file to a RAW file, but I don't know what to do with it...

Can you help me ?

Re: Exporting a VM to a server

Posted: 27. Jun 2020, 18:11
by scottgus1
If you want to take the contents of a virtual machine and run it on a physical PC, you are wanting to do the opposite of a 'P2V' (a V2P). P2V and V2P are the same concept: move a working OS from one PC to another PC. Web-search 'P2V {your VM's Linux distro} site:forums.virtualbox.org'.

You could also use 3rd party software that can make disk images of running or ISO-booted OS's, and back up the guest OS then restore it to the physical PC.

OS's may not like being transferred to other hardware. You are essentially taking the head off one body and putting it on another body. Expect some Frankenstein moments.

If all else fails, continue to run the Virtualbox guest in Virtualbox on the other computer.