psm jcs view-backup

This command displays the backup of an Oracle Java Cloud Service instance.

Syntax

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

psm jcs view-backup -s|--service-name serviceName 
  -b|--backup-id backupID
    [-of|-–output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameters Description
-s|--service-name serviceName Name of the Oracle Java Cloud Service instance.
-b|--backup-id backupID Identifier for the backup you want to view.
-of|-–output-format json|html|short (Optional) Output format of the command’s response:

Accepted values: json, html, short

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm jcs view-backup -s Example1Instance -b 1461867758288 -of json 
{
    "backupCompleteDate":"Thu Apr 28 18:23:43 GMT 2016",
    "backupId":"1461867758288",
    "backupStartDate":"Thu Apr 28 18:22:38 GMT 2016",
    "databaseIncluded":false,
    "expirationDate":"Sat May 28 18:22:38 GMT 2016",
    "full":true,
    "href":"http://myserver.mycorp.com:7103/paas/service/jcs/api/v1.1/instances/myteamabca/Example1Instance/backups/1461867758288",
    "initiatedBy":"weblogic",
    "jobHistory":[
        {
            "completeDate":"Thu Apr 28 18:23:43 GMT 2016",
            "jobId":"34207",
            "operation":"backup",
            "startDate":"Thu Apr 28 18:22:38 GMT 2016",
            "status":"Completed",
            "statusDetails":"Backup health check passed...Locked the WebLogic Server domain configuration...Started the backup of configuration data for WebLogi
c Server managed servers on these hosts: ['edsexample1instance-wls-2', 'edsexample1instance-wls-1']...Completed the backup of configuration data for WebLogic Se
rver managed servers on these hosts: edsexample1instance-wls-2 edsexample1instance-wls-1 ...Unlocked the WebLogic Server domain configuration...Uploading the ba
ckup archive to the Oracle Storage Cloud Service container...Uploaded the backup archive to the Oracle Storage Cloud Service container..."
        }
    ],
    "jobId":"34207",
    "local":false,
    "localCopy":true,
    "serviceComponents":[
        {
            "type":"JDK",
            "version":"1.8.0_71"
        },
        {
            "type":"OTD",
            "version":"12.2.1.0.0"
        },
        {
            "type":"OTD_JDK",
            "version":"1.8.0_71"
        },
        {
            "type":"WLS",
            "version":"12.2.1.0.160219"
        }
    ],
    "size":"3.3MB",
    "sizeInBytes":3462606,
    "status":"Completed"
}