我給你一個大體方案,你可以在郵件回我。 作者: dengbao2001 時間: 2013-05-27 14:45
You can restore the ESXi configuration locally from the state.tgz backup file.
To restore the ESXi configuration locally:
1.Run the auto-backup.sh script to confirm you have an up-to-date host configuration saved in the /bootbank/state.tgz file.
The Bootbank/state.tgz file is updated and contains the host configuration.
Note: The ESXi configuration can be saved locally via the auto-backup.sh script. For more information, see the Saving State Locally section in the Additional Information section of this article.
2.Copy the /bootbank/state.tgz file to a safe location (for example, a shared datastore or use WinSCP to copy to another location).
3.Reinstall ESXi 5.1.
4.After the reinstallation completes and the ESXi host boots, copy the saved state.tgz file to the system (for example, to the /tmp directory).
5.Extract the local.tgz file from the state.tgz archive by running these commands:
# cd /tmp
# tar -xvzf state.tgz
6.Verify there is not already a local.tgz file under / (the root directory) and then copy the newly extracted local.tgz file to the / directory by running these commands: