psm analytics view-backup

Use this command to display the backup of 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-backup -s|--service-name serviceName 
    [-b|--backup-id backupId] 
    [-d|--include-linked-details true|false]
    [-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameters Description
-s|--service-name Specifies the name of the service.
-b|--backup-id Job ID of backup operation. To retrieve the Job ID, use view-backups command.
-d|--include-linked-details (Optional) Specifies whether to include information about related backups. Specifically:
  • For a full backup, includes information about all incremental backups performed since the last full backup.

  • For an incremental backup, includes information about the previous full backup. Defaults to false, excluding information about related backups.

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

Accepted values: json, html, short

Example

$ psm analytics view-backup -s Example1Service -b 1461867758288 
{
    "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.us.mycorp.com:7103/paas/service/analytics/api/v1.1/instances/myteamabca/Example1Service/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: ['edsexample1service-wls-2', 'edsexample1service-wls-1']...Completed the backup of configuration data for WebLogic Se
rver managed servers on these hosts: edsexample1service-wls-2 edsexample1service-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":"",
            "version":"1.8.0_71"
        },
        {
            "type":"OTD",
            "version":"12.2.1.0.0"
        },
        {
            "type":"OTD_??",
            "version":"1.8.0_71"
        },
        {
            "type":"WLS",
            "version":"12.2.1.0.160219"
        }
    ],
    "size":"3.3MB",
    "sizeInBytes":3462606,
    "status":"Completed"
}