Export Proxmox VE VM for Use With VirtualBox

preview_player
Показать описание
#Proxmox #VirtualBox #Hypervisor #Convert

 
--------------------------------------------------------------------
Export the VM from Proxmox VE
--------------------------------------------------------------------
   01. Log into the Proxmox VE web UI
   02. Select the VM from the left navigation menu
   03. Select Backup from the left sub-navigation menu
   04. Click the Backup now button towards the top of the page
   05. Set the destination location, the Mode to Stop and the Compression to none ≫ Click Backup
   06. After the backup operation has completed, select the Proxmox node from the left navigation menu
   07. Select Shell from the left sub-navigation menu
   08. Change directory to the location of the vma backup file, this will vary based on your specific setup
         # change directory to view mounted shares
         cd /mnt/pve
         # list mounted shares
         ls
         # cd into dump directory on the specific share, ISOs in this example
         cd ISOs/dump
         # list the files in the share
         ls
   09. The backup .vma file and a .log file should be displayed
   10. Extract the .vma file using the vma command line tool
         # extract the .vma
   11. Wait for the .vma to be extracted, resulting in a .raw disk image
 
--------------------------------------------------------------------
Converting and Importing the Disk to VirtualBox
--------------------------------------------------------------------
   01. Launch VirtualBox Manager
   02. Create a new VM, using the same/similar hardware specifications as the Proxmox VM
   03. Choose to not create a virtual hard disk
   04. With the VM created, right click the VM in the left navigation menu ≫ Show in Explorer
   05. Copy the exported .raw disk image to the VirtualBox VM folder
   06. Hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
   07. Run the following command to convert the .raw disk image to .vdi
         # list .raw files
         Get-ChildItem -File -Filter *.raw |Select Directory, Name, Extension
   08. Back in VirtualBox Manager, select the VM and Click Settings
   09. Select Storage from the left navigation menu
   10. Click Add Storage Attachment ≫ Add Hard Disk ≫ Choose existing disk
   11. Click Add and browse to the newly converted .vdi file
   12. Click OK to all open VirtualBox dialog windows
   13. Right click the VM ≫ Select Start ≫ Normal
 

### Connect with me and others ###
Рекомендации по теме
Комментарии
Автор

I don't have a /mnt/pve folder on version 7.2-15, not do you set that up?

JeffZiegler
Автор

It is helpful. Can we though just agree that Proxmox import/export sucks? That's why we have these videos in the first place.

clockware
Автор

Hooo my gosh really, REALLY, GOOD CONTENT! thanks for sharing. I was googling about it and I could not find anything updated relevant info ... till I found this video.

I mostly do only Proxmox and many VMs in it. however, for one particular situation, I needed to transfer a VM from Proxmox to VirtualBox.

It worked like a charm. thanks again .

EduardoSantanaSeverino