Technical White Paper
18.1.2 Exporting Server Profile to NFS Share-BackupImage()
NFS Share:
ShareType
is “0”. The entire “Passphrase="passphrase";” argument is optional.
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="/[DRIVESHARE]"
-k ShareType="0" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" –k Passphrase="[PASSPHRASE]"
-k ImageName="[IMAGENAME]" –k ScheduledStartTime="TIME_NOW"
Inorrect Example: ShareName=”/folder1”;ImageName=”subfolder/image_name”
Correct Example: ShareName=”/folder1/subfolder”;ImageName=”image_name”
18.1.3 Exporting Server Profile to CIFS Share-BackupImage()
CIFS Share:
ShareType
is “2”. The entire “Passphrase="passphrase";” argument is optional.
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="/[DRIVESHARE]"
-k ShareType="2" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" –k Passphrase="[PASSPHRASE]" -k
ImageName="[IMAGENAME]" –k
ScheduledStartTime="TIME_NOW"
Incorrect Example: ShareName=”/folder1”;ImageName=”subfolder/image_name”
Correct Example: ShareName=”/folder1/subfolder”;ImageName=”image_name”
OUTPUT:
<n1: BackupImage_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anon
ymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimschema/