White Paper
7 Automatic Backup Server Profile | Revision 1.0.
2.3 Using WS–Man
The BackupImage() method of the DCIM_LCService class is used to create a backup server profile using
WS–Man. The profile for LC Management Profile contains detailed information about this method. The LC
Best Practices Guide available at delltechcenter/lc provides more information about scripting this
command. A job ID is returned by the command and can be used to query the status of the backup
command.
2.3.1 Usage Examples
1. Using WINRM client on Windows
The backupinput.xml file contains the parameters for the BackupImage() method provided in an XML format. A
sample XML file is given here.
winrm i BackupImage http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LC
Service -u:<username> -p:<password> -r:https://<IDRAC_IP_ADDRESS>/wsman -
SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic -file:backupinput.xml
<p:BackupImage_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">
<p:ShareType>4</p:ShareType>
<p:Username>user</p:Username>
<p:Password>pass</p:Password>
<p:IPAddress>10.92.11.100</p:IPAddress>
<p:Passphrase>passp</p:Passphrase>
<p:UntilTime>04:44:45</p:UntilTime>
<p:ImageName>backup.img</p:ImageName>
</p:BackupImage_INPUT>