VMware Cloud Community
dfosbenner
Enthusiast
Enthusiast

Config backup question

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?

Reply
0 Kudos
2 Replies
Akopylov
Commander
Commander

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.

Reply
0 Kudos
vfk
Expert
Expert

I agree with Akopylov you were better using PowerCLI to backup your configuration.

--- If you found this or any other answer helpful, please consider the use of the Helpful or Correct buttons to award points. vfk Systems Manager / Technical Architect VCP5-DCV, VCAP5-DCA, vExpert, ITILv3, CCNA, MCP
Reply
0 Kudos