psm analytics view-restores

Use this command to list all restore operations for a service created with Oracle Analytics Cloud - Classic.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm analytics view-restores -s|--service-name serviceName 
   [-1|--include-failed true|false]
   [-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s|--service-name Name of the service.
-1|--include-failed (Optional) Specifies whether to include (true) or exclude (false) failed restoration operations.

Default: false

-of|-–output-format (Optional) Desired output format.

Accepted values: json, html, short

Example

$ psm analytics view-restores -s Example1Service 
{
    "restoreHistory":[
        {
            "backupDate":"Thu Apr 28 18:22:38 GMT 2016",
            "backupId":"1461867758288",
            "configDataIncluded":true,
            "databaseIncluded":false,
            "jobId":"34276",
            "otdIncluded":false,
            "recoveryCompleteDate":"Thu Apr 28 19:51:02 GMT 2016",
            "recoveryStartDate":"Thu Apr 28 19:45:41 GMT 2016",
            "staticDataIncluded":false,
            "status":"Completed",
            "statusDetails":"The backup archive already exists in the block storage and does not need to be downloaded from the Oracle Storage Cloud Service con
tainer...Submitted the restoration precheck for remote execution...Restoration precheck passed...Submitted the restoration for remote execution...The instance h
as been scaled in to remove the following managed servers: ['edsExample1Service-wls-2']. You must manually remove these managed servers from the cluster...Stop
ping WebLogic Server...Stopped WebLogic Server...Restoring the configuration data for WebLogic Server administration server on host edsExample1Service-wls-1...
Restored the configuration data for WebLogic Server administration server on host edsExample1Service-wls-1...Starting WebLogic Server...Started WebLogic Server
...Unlocked the WebLogic Server domain configuration...Completed the restoration"
        }
    ]
}