To recover the mashine using a RAW file, follow the steps below:
Boot from any Linux Live CD.
Verify that ssh service has started.
Clone a disk using the command from your BM server ssh user@device_ip dd if=/<path_to_file> | dd of=/dev/sda status=progress, where device_ip is the IP address of the machine with the downloaded image
After successful cloning, restart the machine and boot from the hard disk.