Reference Guide

200 Lifecycle Controller Web Services Interface Guide for Linux
OUTPUT:
The autobackup.xml file contains the parameters to be passed to the SetBackupSchedule() method in
XML format. A sample autobackup.xml file is given here.
<p:SetBackupSchedule_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice">
<p:ShareType>4</p:ShareType>
<p:ImageName>IMAGENAME.img</p:ImageName>
<p:Time>12:56</p:Time>
<p:DayofMonth>*</p:DayofMonth>
<p:DayOfWeek>Mon</p:DayOfWeek>
<p:WeekOfMonth>L</p:WeekOfMonth>
<p:Passphrase>PASSPHRASE</p:Passphrase>
<p:Repeat>1</p:Repeat>
<p:MaxNumberOfBackupArchives>1</p:MaxNumberOfBackupArchives>
</p:SetBackupSchedule_INPUT>
18.2.3 Get the Backup Schedule
The GetBackupSchedule() method used by the DCIM_LCService class is used to get the automatic
backup schedule.
wsman invoke -a GetBackupSchedule
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?
SystemCreationClassName=DCIM_Compu terSystem,CreationClassName=DCIM_LCService,
SystemName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
18.2.4 Clear the Backup Schedule
The ClearBackupSchedule() method used by the DCIM_LCService class is used to configure automatic
backup schedule.
wsman invoke -a ClearBackupSchedule
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?
SystemCreationClassName=DCIM_Compu terSystem,CreationClassName=DCIM_LCService,
SystemName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
18.3 Importing Server Profile
To restore host System server profile, invoke the RestoreImage() method in the class
DCIM_LCService. Restore process restores the System information, firmware images, hardware
configuration, Lifecycle Controller, iDRAC firmware, and configuration from the backup image file located
on either iDRAC vFlash SD card or network share.
[IP ADDRESS]: This is the IP address of the file server.
[DRIVESHARE]: This is the directory path for the image.
[USERNAME]: This is the username to the file share.
[PASSWORD]: This is the password to the file share.
[IMAGENAME]: This is the desired name of the image.