curl -i -X GET -u username:password -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance/backupconfig
Specify the following options on the cURL command line:
-
-i
option to include the HTTP header in the output. This option is optional.
-
-X
option to indicate the type of request (GET
).
-
-u
option to specify the user name and password for the Oracle Java Cloud Service account for authentication.
-
-H
to define a custom header, X-ID-TENANT-NAME
, to identify the identity domain ID.
For more information, see View the Backup Configuration.
In the example, the following backup schedules are in effect:
-
Full backups are performed at 11:50:00 PM UTC on Tuesday
-
Incremental backups are performed at 11:50:00 PM UTC daily, excluding Tuesday
-
Retention time for incremental and on-demand backups (in an object storage container or bucket) is set to 30 days; full scheduled backups are retained until their last related incremental backup is no longer available, if any
For copies of backups on a dedicated storage volume, the local retention time is 7 days; disk copies of full scheduled backups are retained until the local copy of their last related incremental backup is no longer available, if any.
The following example shows the response body in JSON format.
{
"state":"ENABLED",
"defaultRetention":"30 days",
"localRetention":"7 days",
"fullBackupSchedule":
{
"second":"0",
"minute":"50",
"hour":"23",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Tue",
"year":"*"
},
"incrementalBackupSchedule":
{
"second":"0",
"minute":"50",
"hour":"23",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sun,Mon,Wed,Thu,Fri,Sat",
"year":"*"
},
"scheduledBackups":"ALL",
"extendedRestoreTypes":"NONE",
"lastBackupDate":"Thu Dec 03 23:50:00 GMT 2015",
"lastSuccessfulCleanupDate":"Fri Dec 04 01:01:59 GMT 2015",
"nextFullBackupDate":"Tue Dec 08 23:50:00 GMT 2015",
"nextIncrementalBackupDate":"Fri Dec 04 23:50:00 GMT 2015",
"backupDestination":"BOTH",
"cloudStorageContainer":"Storage-ExampleIdentityDomain\/mybackupcontainer",
"cloudStorageUser":"username",
"totalCloudStorageContainerUsed":"1.8GB",
"totalCloudStorageContainerUsedInBytes":1934445222,
"totalBackupVolumeUsed":"1.8GB",
"totalBackupVolumeUsedInBytes":1934445222,
"percentBackupVolumeUsed":0.9007961750030518
}