DigitalOcean to Unraid VM

By October 21, 2020Linux

Migrate your DigitalOcean to Unraid VM with this simple and easy to follow guide. Save hundreds or thousands of dollars a year by running your VPS locally.

#Set a root password, this will be useful to use VNC

Step 1. Shutdown/Restart droplet into Recovery Mode in DO Control Panel, take note of the temporary root password shown in console.

Step 2: Then copy the remote disk image of the DigitalOcean droplet to your local machine
ssh root@43.44.X.X "dd if=/dev/vda" | sudo dd of=88plug.raw bs=64k

Step 3: Convert the .raw file to a compatible .img file for Unraid
qemu-img convert -p -O raw 88plug.raw disk.img

Step 4: Sync Image file to Unraid
rsync -av --progress -e "ssh -T -c aes128-ctr -o Compression=no -x" disk.img root@tower.local:/mnt/user/domains/88plug/

Step 5: Create a new VM with the same OS as your DO Droplet.

Bonus round: For other systems use the handy table below

Image formatArgument to qemu-img
QCOW2 (KVM, Xen)qcow2
QED (KVM)qed
rawraw
VDI (VirtualBox)vdi
VHD (Hyper-V)vpc
VMDK (VMware)vmdk

For ProxMox use qcow2

qemu-img convert -p -O raw 88plug.raw disk.qcow2

Import the disk into the VM configuration

#qm importdisk <vmid> <disk> <storage>
qm list
qm importdisk $VMID disk.qcow2 local-lvm

Leave a Reply

avatar
  Subscribe  
Notify of