Technical White Paper

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.
[PASSPHRASE]: This can be used to password protect NFS and CIFS images.
For NFS and CIFS shares, the entire “Passphrase="[PASSPHRASE]";” argument is only
required when the backup image uses a passphrase.
The following examples restore the server profile and execute it immediately, using the
TIME_NOW
parameter.
18.3.1 Importing Server Profile from iDRAC vFlash Card-RestoreImage()
iDRAC vFlash Card:
ShareType
is “4”.
wsman invoke -a RestoreImage http://schemas.dmtf.org/wbem/wscim/1/cimschema/
2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,
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
-k IPAddress="[SHARE_IPADDRESS] " -k ShareName="/[DRIVESHARE]"
-k ShareType="4" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" k Passphrase="[PASSPHRASE]" -k
ImageName="[IMAGENAME]" k
ScheduledStartTime="TIME_NOW"
18.3.2 Importing Server Profile from NFS share-RestoreImage()
NFS Share: