03-16-2010 09:14 AM - edited 03-01-2019 09:37 AM
Anyone know how to do automated, regular backups of the full UCS config? So far, all
I can find in the docs is how to setup regular scheduled backups of the system event log.
05-17-2010 01:07 AM
I have recently run into your issue, there is no automated backup functionality within the GUI.
To get around this I had to create a script to submit the appropriate XML to the UCS manager. You will need to create a backup in the GUI and use a packet sniffer to capture the XML that the GUI uses to send the backup command to UCS manager.
The UCS Manager XML API Programmers Guide will get you started with logging in and obtaining your session cookie. http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/ucs_api_book.html
Hopefully automated scheduled backup is added in a future release of UCS.
05-17-2010 07:55 AM
Fortunately you don't always need to use a sniffer to find out what XML API commands to use. There are three ways:
a) the not-so-pretty "reverse-engineering" method: on your PC search for a folder called ".ucsm". Inside that folder you'll see text files that contain all incoming and outgoing XML transactions performed by the GUI
b) using UCSM with version 1.2 you can right-click on most elements in the GUI and ask to "copy XML". That helps you pinpoint the tree object you need to query/modify
c) we publish the XML schema along with the managed objects tree on the developer community. Go to http://developer.cisco.com/web/unifiedcomputing/start and look for the XML API Programmer's guide - it's a large PDF file.
11-26-2010 01:41 PM
Hi Mark,
My name is Lane. I have successfully setup a "work around" to automate the Cisco UCSM backups. My solution actually backs up all four types of UCS backups. You can see all the instructions on my blog. If you have any questions or want to let me know how it goes I'd appreciate the feedback. I'm sure a scheduling engine will be coming in future releases of the UCSM, but as of 1.3(n) no such luck.
thanks!
Lane
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide