psm analytics view-backups
Use this command to list all backups 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-backups -s|--service-name serviceName
[-f|--full-backups-only true|false]
[-a|--include-all true|false]
[-n|--include-complete-notes true|false]
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameters | Description |
---|---|
-s|--service-name |
Name of the service. |
-f|--full-backups-only |
(Optional) Specifies whether to display full backups only.
Default: |
-a|--include-all |
(Optional) Specifies whether to display all backups, including successful, failed, and deleted backups.
Default: |
-n|--include-complete-notes |
(Optional) Specifies whether to display the complete set of notes for each backup.
Default: |
-of|-–output-format |
(Optional) Desired output format.
Accepted values: |
Example
$ psm analytics view-backups -s Example1Service
{
"backups":[
{
"backupCompleteDate":"Thu Apr 28 17:45:33 GMT 2016",
"backupId":"1461865468064",
"backupStartDate":"Thu Apr 28 17:44:28 GMT 2016",
"databaseIncluded":false,
"expirationDate":"Sat May 28 17:44:28 GMT 2016",
"full":true,
"href":"http://myserver.us.mycorp.com:7103/paas/service/analytics/api/v1.1/instances/myteamabca/Example1Service/backups/1461865468064",
"initiatedBy":"weblogic",
"jobId":"34188",
"local":false,
"localCopy":true,
"notes":"Backup for applying patch...",
"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.160119"
}
.
.
.
"size":"3.3MB",
"sizeInBytes":3462606,
"status":"Completed"
}
]
}