Technical White Paper

18 Exporting and Importing Server Profile
Use this feature to back up and restore host server profile. You can take a backup of current system
configuration that is stored in a backup image file. Use Restore at anytime to put the system to
pre-backup state.
Profile and Associated MOFs:
http://www.delltechcenter.com/page/DCIM.Library.Profile
18.1 Exporting Server Profile
To backup host system server profile, invoke the BackupImage() method in the class
DCIM_LCService. Backup feature gathers system information, firmware images, hardware
configuration, Lifecycle Controller, iDRAC firmware, and configuration and stores the information in
a file. You can save the file 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 optional.
Note: To restore this backup file, the same passphrase must passed as an argument for the operation
to be successful.
The following examples back up the server profile and execute it immediately, using the
TIME_NOW
parameter.
18.1.1 Exporting Server Profile to iDRAC vFlash Card-BackupImage()
iDRAC vFlash Card:
ShareType
is “4”.
EXAMPLE:
wsman invoke -a BackupImage 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="/FOLDER"
-k ShareType="4" -k Username=$SHARE_USERNAME
-k Password=$SHARE_PASSWORD -k ImageName="IMAGENAME"
k ScheduledStartTime="TIME_NOW"