<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Powertool - how to import config backup file</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5414173" />
  <subtitle>Powertool - how to import config backup file</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5414173</id>
  <updated>2013-05-20T21:20:11Z</updated>
  <dc:date>2013-05-20T21:20:11Z</dc:date>
  <entry>
    <title>RE: Powertool - how to import config backup file</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712841" />
    <author>
      <name>Hiroshi Okamoto</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5712841</id>
    <updated>2012-05-11T03:51:32Z</updated>
    <published>2012-05-11T03:51:32Z</published>
    <summary type="html">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</summary>
    <dc:creator>Hiroshi Okamoto</dc:creator>
    <dc:date>2012-05-11T03:51:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Powertool - how to import config backup file</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5426460" />
    <author>
      <name>Bhaskar Jayakrishnan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5426460</id>
    <updated>2012-04-09T13:36:03Z</updated>
    <published>2012-04-09T13:36:03Z</published>
    <summary type="html">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</summary>
    <dc:creator>Bhaskar Jayakrishnan</dc:creator>
    <dc:date>2012-04-09T13:36:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Powertool - how to import config backup file</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5416318" />
    <author>
      <name>John McDonough</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5416318</id>
    <updated>2012-04-06T14:48:09Z</updated>
    <published>2012-04-06T14:48:09Z</published>
    <summary type="html">[quote]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
 
 [/quote]
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:\&gt; 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</summary>
    <dc:creator>John McDonough</dc:creator>
    <dc:date>2012-04-06T14:48:09Z</dc:date>
  </entry>
  <entry>
    <title>Powertool - how to import config backup file</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5414172" />
    <author>
      <name>Hiroshi Okamoto</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5414172</id>
    <updated>2012-04-06T07:34:45Z</updated>
    <published>2012-04-06T07:34:45Z</published>
    <summary type="html">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
 
 </summary>
    <dc:creator>Hiroshi Okamoto</dc:creator>
    <dc:date>2012-04-06T07:34:45Z</dc:date>
  </entry>
</feed>

