Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\GetSnapshotHistory - Gets a History of Snapshots and Restorations
[Linux Manager]
/opt/FJSVcfmg/bin/GetSnapshotHistory.sh - Gets a History of Snapshots and Restorations
Synopsis
[Windows Manager]
GetSnapshotHistory -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform ID -lserverId server ID
[Linux Manager]
GetSnapshotHistory.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID
Function description
This command gets a history of snapshots and restorations.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify the L-Platform ID.
Specify the server ID.
Requirements
User with OS administrator privilege
Admin server
Example
> GetSnapshotHistory -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 <?xml version="1.0" encoding="UTF-8"?> <GetSnapshotHistoryResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <histories> <history> <action>SNAPSHOT</action> <endTime>2013/10/19 19:47:09</endTime> <progress>100</progress> <snapshotId>rorv3-66_1752</snapshotId> <startTime>2013/10/19 19:46:32</startTime> <status>completed</status> </history> <history> <action>RESTORE</action> <endTime>2013/10/19 19:48:14</endTime> <progress>100</progress> <snapshotId>rorv3-66_1752</snapshotId> <startTime>2013/10/19 19:47:38</startTime> <status>completed</status> </history> </histories> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </GetSnapshotHistoryResponse>
# GetSnapshotHistory.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 <?xml version="1.0" encoding="UTF-8"?> <GetSnapshotHistoryResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <histories> <history> <action>SNAPSHOT</action> <endTime>2013/10/19 19:47:09</endTime> <progress>100</progress> <snapshotId>rorv3-66_1752</snapshotId> <startTime>2013/10/19 19:46:32</startTime> <status>completed</status> </history> <history> <action>RESTORE</action> <endTime>2013/10/19 19:48:14</endTime> <progress>100</progress> <snapshotId>rorv3-66_1752</snapshotId> <startTime>2013/10/19 19:47:38</startTime> <status>completed</status> </history> </histories> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </GetSnapshotHistoryResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.