White Paper

12 Automatic Backup Server Profile | Revision 1.0.
this command. A job ID is returned by the command and can be used to query the status of the
SetBackupSchedule() command.
3.2.1 Usage Examples
1. Using WINRM client for Windows:
a. Check whether or not the Automatic Backup feature is enabled.
b. Enable the Automatic Backup feature by setting the attribute and configuring a job to update the attribute
setting.
c. Schedule the automatic backup job.
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.
winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSyst
em+CreationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCI
M:LCService -u:<USER> -p:<PASSWORD> -r:https://<IDRAC_IP_ADDRESS>/wsman -
SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
@{AttributeName="Automatic Backup Feature";AttributeValue="Enabled"}
winrm i CreateConfigJob http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSyst
em+CreationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCI
M:LCService -u:<USER> -p:<PASSWORD> -r:https://<IDRAC_IP_ADDRESS>/wsman -
SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
winrm i SetBackupSchedule http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSyst
em+CreationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCI
M:LCService -u:<USER> -p:<PASSWORD> -r:https://<IDRAC_IP_ADDRESS>/wsman -
SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic -file:autobackup.xml
winrm get
"cimv2/root/dcim/DCIM_LCEnumeration?InstanceID=LifecycleController.Embedded.1
#LCAttributes.1#AutoBackup" -r:https://10.94.195.40:443/wsman -u:root -
p:calvin -SkipCNcheck -SkipCAcheck -SkipRevocationCheck -encoding:utf-8 -
bi
fttt