ESXi | Error while backing up Configuration of ESXi host

This time I got a problem with ESXi host where team was getting and "Internal Server Error" while taking the backup of configuration of ESXi host.

I checked and found that on that host folder "Downloads" was not there in Scratch partition. I simply SSH the host and created the folder with command "mkdir downloads" in scratch partition and taken the backup with below Powershell command successfully.

#Start here
Connect-VIServer vC1.mylab.net

$folder = New-Item -ItemType Directory -Path "D:\Host configuration\$((Get-Date).ToString('yyyy-MM-dd'))" -Force

Get-VMHost | Get-VMHostFirmware -BackupConfiguration -DestinationPath $folder

#End here




Thank you,
Team vCloudNotes

0 Comments:

Post a Comment