As I've bought a server it had a RAID controlleer which was not supported by VMWare ESXi 5, so I had to install it in a bare non-RAID configuration. Now as I've bought a supported RAID controller I am going to install it and, reconfigure all the attached HDDs as a new RAID 1+0 array and reinstall VMWare ESXi 5. I would need to restore all the VMs then. To do this I'd like to save all the VMs onto an USB-attached (to the server or to my gigabit-connected laptop - whatever is easier). How can I achieve this? How to export a VM image to a file?
PS: VMWare ESXi Server and vSphere Client are both 5.0.0, the license is trial (which, as far as I understand, is supposed to provide full set of features including guest migration).
I prefer the OVF approach in some cases.
This is also detailed here: Move VMware ESXi VM to new datastore - preserve thin-provisioning
There are a number of ways to do this. The following is a non-exhaustive list:
Use WinSCP to copy it.
Use Veeam FastSCP to copy it.
Use Trilead VM Explorere to copy it.
Browse the datastore and copy it directly.
Etc., etc.
EDIT
In your question you state that you want to export the VM but what you're really asking is how you can get it onto temporary storage so that you can rebuild the host. I didn't include the OVF export option in my answer as ewwhite did in his answer, but that is in fact another way to accomplish this.