How to Move Virtualbox Guest VMs to Different Host

Connect to Source Host and copy files to NAS:
ssh webadmin@server01
vboxmanage list running vms
vboxmanage controlvm “[machine name]” poweroff
scp -r /media/KimConnectVirtStorage/virtual_disk_images/qa.kimconnect.com webadmin@NAS:/home/webadmin
 
Connect to Destination Host:
ssh webadmin@NAS
# check disk space
df -h
mv qa.kimconnect.com/ Virtual\ Box\ VMS/
 
# command to associate VMDK to Virtualbox is to be researched
vboxmanage controlvm “[machine name]” poweron
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *