Web Services Interface Guide

269 Dell Lifecycle Controller Web Services Interface Guide for Windows
ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_859945354433, __cimnamespace = root/dcim
ReturnValue = 4096
18.2.2 Set Backup Schedule
The SetBackupSchedule() method used by the DCIM_LCService class is used to configure automatic
backup schedule using WSMAN
winrm i SetBackupSchedule http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem+Cr
eationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LCServic
e -u:<USER> -p:<PASSWORD> -r:https://<IDRAC_IP_ADDRESS>/wsman -SkipCNCheck -
SkipCACheck -encoding:utf-8 -a:basic -file:autobackup.xml
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/cim-
schema/2/root/dcim/DCIM_LCService"><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