Technical White Paper

e> </n1:CreateConfigJob_OUTPUT>
18.2.2 Set Backup Schedule
The SetBackupSchedule() method used by the DCIM_LCService class is used to configure automatic
backup schedule using WS-Man.
wsman invoke -a SetBackupSchedule
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 autobackup.xml -j
utf-8 -y basic
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.
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.