VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Nov 18, 2009 6:34 AM by AlbertWT  

vicfg-cfgbackup restore fails, "invalidbundle" posted: Nov 6, 2009 10:08 AM

Click to view dturner71's profile Lurker 3 posts since
Apr 28, 2009
Running licensed ESXi 4 installable fully patched. I put the host in maintenance mode and run "vicfg-cfgbackup.pl --server vmnode1 -l c:\temp\vmnode1.tgz" from the RCLI. This is what I get:

Uploading config bundle to configBundle.tgz ...
Performing restore ...
Restore failed: fault.InvalidBundle.summary
Exiting maintenance mode ...

Any ideas on this?

Thanks in advance....Dan

Re: vicfg-cfgbackup restore fails, "invalidbundle"

1. Nov 17, 2009 11:38 PM in response to: dturner71
Click to view AlbertWT's profile Expert 456 posts since
Apr 7, 2009

Hi Dturner71,

Have you updated the build to be exactly the same ?

I also face the same problem here, FYI: here's the steps that I've got from this forum :

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

any luck in restoring it ?

Kind Regards,
AWT

Re: vicfg-cfgbackup restore fails, "invalidbundle"

2. Nov 18, 2009 4:05 AM in response to: dturner71
Click to view AlbertWT's profile Expert 456 posts since
Apr 7, 2009

Hi Dan,

Finally I was able to resolve this problem, it is very simple, AllI need to do is just to

  1. install the blank USB with ESXi 4.0 CD which will install build 164009 by default and then,
  2. Configure
    the mgmt. network IP manually to be the same as the previous ESXi (so
    that the Host update Utility can patch this ESXi)
  3. Add this new ESXi into the VMWare Host update utility and patch it to be the same as the backup image (*193498)*
  4. connect to vMA and then perform restore (as shown in the bottom of this reply thread).
  5. Add the ESXi host to the vCenter from vSphere client.
All
of the settings and VM start utility will be the same as the backup
image, no need to follow additional steps to backup the oem.tgz (as in _bootbank/oem.tgz"_)

Kind Regards,
AWT

==========

root@vMA ~# vicfg-cfgbackup --server ESXi01 -l BackupESXi01-withoutUSB
Enter username: root
Enter password:
The restore operation will reboot the host.
Type 'yes' to continue:
yes
Uploading config bundle to configBundle.tgz ...
Performing restore ...
root@vMA ~#

Kind Regards,
AWT

Re: vicfg-cfgbackup restore fails, "invalidbundle"

4. Nov 18, 2009 6:34 AM in response to: dturner71
Click to view AlbertWT's profile Expert 456 posts since
Apr 7, 2009

Good, glad to hear that Dan.


Kind Regards,
AWT

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities