Blogs

Introduction

Racktables version 0.20.1 has new feature support for Cisco UCS environments. Racktables is a structured and robust open-source solution for datacenter asset management, that helps document hardware assets, network addresses, space in racks and network configuration.
...Read More

 

I just added a new section to the UCS PowerTool section on the UCS CDN site that will provide a central repository of PoSh scripts, examples, and videos that detail use cases and examples for UCS PowerTool.

Here is the link:
http://developer.cisco.com/web/unifiedcomputing/powertool-examples
...Read More

 

I would like to announce the general availability of goUCS version 2.0 on Cisco Developer Network. A lot of time and effort has been put into the newest goUCS release, with some of the main features being detailed below.

 

Lest anyone thinks I have forgotten about my blogging on the UCS API, I have not, but I have written a blog recently for the Data Center blog and it is applicable to the UCS so I thought I would share the link here along with the blog into.

Early in my career I moved quite a bit, new job, growing family, whatever the reason it seemed like every two or three years we were packing up and going to a new place and meeting our new neighbors.
...Read More

 

Updated and completely revised version 2.0 MP for Cisco UCS is now available for download. Please check the release notes for the complete list of bug fixes ...Read More

 

Showing 1 - 5 of 16 results.
Items per Page 5
of 4

Forums

« Back to Microsoft Discussions

RE: Powertool - how to import config backup file

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi Experts,
 
I tried Backup-Ucs command with Powertool 9.6.0 and got backup file successfully.
but there seems to be no cmdlet to execute restoreing (importing) the file back into UCS Manager.
 
Do anyone know how to import it by Powertool?
 
Regards,
Hiroshi
 
 

Hi Experts,
 
I tried Backup-Ucs command with Powertool 9.6.0 and got backup file successfully.
but there seems to be no cmdlet to execute restoreing (importing) the file back into UCS Manager.
 
Do anyone know how to import it by Powertool?
 
Regards,
Hiroshi
 
 

Hi Hiroshi,
 
There are several cmdlets to manage import of an XML backup that was taken from the UCS Manager and the import process, the several I have listed below are from the 0.9.7.0 release.
 


PS C:\> get-command -Module CiscoUCSPS | select-string import
 
Add-UcsMgmtImporter
Get-UcsMgmtImporter
Import-UcsBackup
Import-UcsXml
Remove-UcsMgmtImporter
Set-UcsMgmtImporter


 
The backup that  results fro Backup-Ucs with the option "full-state" is not an XML file, it is a binary dump of the UCS Manager database and cannot be imported, only restored.  The restore backup capability is only available from the commandline.  You would be presented with the setup/restore option when there is no existing configuration on the UCS.
 
There maybe a way to force the initial setup process on a UCS with an existing configuration, but I an not familiar with it.
 
Regards,
John

Hiroshi,

With Powertool 0.9.7.0, Import-UcsBackup is the cmdlet you are looking for to restore backups other than a full-state backup.

The Import-UcsBackup cmdlet uploads the backup file to UCS and triggers the import of the backup. If the -Merge flag is specified, UCS will try to merge the configuration, instead of just replacing it with the backup.

Thanks,
- bhaskar

Hi John, Bhaskar,

Thank you for your advice and sorry for my late response.
I tried Import-Backup cmdlet via Powertool both v0.9.7.0 and v0.9.8.0 and successfully made the restore of UCSM config.

Thank you again for your kindness.


Regards,
Hiroshi Okamoto

Collateral


No files available