Mikrotik… need I say More?
Show MenuHide Menu

Backing Up your VMWare Esxi 5.x Configuration

March 2, 2013

Backing up Your VMWare ESXi 5.x Configuration HOW TO

Backing up your actual Hosts: http://www.shogan.co.uk/vmware/esxi-5-0-host-backup-restore-gui-utility-powercli-based/

Nice GUI will try out later just found while suring

 

Backing up the config of your esxi host incase you are replacing your hard drive from a failure or have a new shiny SSD for your esx server:
HERE is a Good step by step by CiscoTree

Link: http://certcollection.org/forum/topic/19822-vmware-esxi-4-hard-drive-upgrade-to-bigger-one/

Download & install VMware Infrastructure Remote CLI from VMWare web site : http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2

Before all enable SSH on your ESXi, to do that follow this procedure : http://www.vm-help.com/esx40i/ESXi_enable_SSH.php

Backup procedure :

1.  Open SSH connection to your ESXi with “putty”
2.  Backup your “/bootbank/oem.tgz” file to a datastore :
Sample cmd : cp /bootbank/oem.tgz /vmfs/volumes/[datastore]/tmp/
3.  Open “RCLI Command Prompt”
4.  Add “Perl\bin” directory to default windows path with command :
cmd : set path=%path%;”C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin”
3.  Backup ESXi configuration to a local file :
Sample cmd : vicfg-cfgbackup.pl –server [server_name_or_ip] -s [backup_file_name]

Restore procedure :

1.  Open “RCLI Command Prompt”
2.  Add “Perl\bin” directory to default windows path with command :
cmd : set path=%path%;”C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin”
3.  Restore ESXi configuration from the local backup file :
Sample cmd : vicfg-cfgbackup.pl –server [server_name_or_ip] -l [backup_file_name]
4.  Reboot ESXi
5.  Open SSH connection to your ESXi with “putty”
6.  Restore your “/bootbank/oem.tgz” file from the datastore :
Sample cmd : cp /vmfs/volumes/[datastore]/tmp/oem.tgz /bootbank/
7.  Reboot ESXi

Leave a Reply

Your email address will not be published. Required fields are marked *


6 visitors online now
6 guests, 0 members
Max visitors today: 6 at 12:00 am UTC
This month: 21 at 09-15-2017 01:33 pm UTC
This year: 47 at 01-03-2017 08:06 pm UTC
All time: 47 at 01-03-2017 08:06 pm UTC