Exporting a VM to a server

Discussions related to using VirtualBox on Windows hosts.
Post Reply
MERRi
Posts: 4
Joined: 23. Feb 2020, 13:12

Exporting a VM to a server

Post 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 ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Exporting a VM to a server

Post 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.
Post Reply