@darius I've used the reverse method to write a disk image to a remote-booted-to-a-rescue-environment

gzip -c disk.img | ssh root@rescue.example.com "gunzip | dd of=/dev/$ROOTDISK/ bs=1M"

(also known as "how I got FreeBSD installed on an OVH VPS")