Once a week I run the following command on my hosts to backup their config:
vim-cmd hostsvc/firmware/backup_config
When this command completes it gives me an http:// location, where I can retrieve the tgz file.
My question is, what happens to the tgz file? Are they accumulating over time? If so, can I get some instruction on how to remove them?
Good day.
The config backup files are stored in /scratch/downloads directory, you can access and clean it via ssh (for example WinSCP or Kitty).
You can use Powercli to backup your ESXi configuration and specify more cozy output folder:
Get-VMHostFirmware -VMHost ESXi_host_IP_address -BackupConfiguration -DestinationPath output_directory, where output directory could be C:\ESXibackups for example.
I agree with Akopylov you were better using PowerCLI to backup your configuration.
