Backup/Restore ESXi Configuration

The commands vicfg-cfgbackup.pl (esxcfg-cfgbackup.pl) allow you to backup and restore the configuration of your ESXi host.

To backup the host you would run the command.
vicfg-cfgbackup.pl --server <server_name> -s <backup_file_name>

To restore your backup configuration to your host you would run. This will cause the host to reboot once the process is complete.
vicfg-cfgbackup.pl --server <server_name> -l <backup_file_name>

Storage VMotion

Using the VMWare Remote Command Line Utility. Make sure you use double quotes in the --vm parameter.
svmotion.pl --datacenter=MyDataCenter --url=https://mywebserver/sdk 
            --vm="[oldDatastore] VMName/VMName.vmx:newDatastore"

Show php error messages