Backing up ESXi configuration

Backing up ESXi configuration



Open a console session on vMA with vi-admin

Add the host as target to the vMA: vifp addserver <FQDN or IP Address>

vifptarget -s servername/ip, Enter password of ESXi.

Once the target has been set

vicfg-cfgbackup -s /location/BackupFileName (Note the -s stands for save)

Your host configuration is now saved.

pscp vi-admin@ c:, (assuming pscp has been installed on your windows machine, vma ip is, and the backup file is stored at /home/vi-admin/esx)

the backup file will then be transferred to C:\Users\YourUserName\AppData\Local\VirtualStore


You can restore the configuration using the following command from your vMA appliance:

vicfg-cfgbackup -l -server IPaddrOfHost /location/BackupFileName (Note the -l stands for load)

You will be prompted for a username and password and you will also have to type YES as the prompt will say.

Keep in mind you will have to reboot your host after the restore completes.

Vsphere CLi


Start -> all programs -> vmware cli –server <insert IP address of name of server here> -s <Where you want it saved to>.


the command is very simaler to the backup command. all that changes is one switch: –server <server name or IP here> -l <where the file is located>

By Ctrl | Alt | Del Posted in Jobs

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s