リストア操作履歴のリスト
get
/api/v1.1/instances/{identityId}/{serviceId}/restoredbackups
サービス・インスタンスのリストア操作の履歴をリストします。
リクエスト
パス・パラメータ
- identityId
-
タイプ:
string
必須:true
Oracle Cloud Serviceアカウントのアイデンティティ・ドメインの名前。- serviceId
タイプ:string
必須:true
サービス・インスタンスのID。
問合せのパラメータ
- includeFailed
-
タイプ:
boolean
trueに設定すると、失敗したリストア操作が含まれます。false
レスポンス
サポートされるメディア・タイプ
- application/json
202レスポンス
OK
本文
ルート・スキーマ: ViewRestoredBackupsResponse
タイプ:
object
- restoreHistory
-
タイプ:
array
restoreHistory完了したすべてのリストア操作をグループ化します。 - restoreInProgress
-
タイプ:
array
restoreInProgress進行中のすべてのリストア操作をグループ化します。
ネスト・スキーマ: restoreHistory
ネスト・スキーマ: restoreInProgress
ネスト・スキーマ: RestoreBackupItem
タイプ:
object
- backupDate
-
タイプ:
string
バックアップの日時。 - backupId
-
タイプ:
string
バックアップID。 - configDataIncluded
-
タイプ:
boolean
構成データがリストアされた(true)かどうかを示すブール・フラグ。 - jobId
-
タイプ:
string
リストア操作のジョブID。 - notes
-
タイプ:
string
バックアップに関する追加情報を提供する自由形式のテキスト。 - otdIncluded
-
タイプ:
boolean
ロード・バランサがリストアされた(true)かどうかを示すブール・フラグ。 - recoveryCompleteDate
-
タイプ:
string
リストア操作が完了した日時。 - recoveryStartDate
-
タイプ:
string
リストア操作が開始された日時。 - staticDataIncluded
-
タイプ:
boolean
静的バイナリ・ファイルがリストア操作に含まれるかどうかを指定するブール・フラグ。 - status
-
タイプ:
string
リストア操作のステータス。 有効な値は次のとおりです。
- '完了'
- '失敗'
- 'リストア中'
- statusDetails
-
タイプ:
string
システム・メッセージの履歴。 各メッセージは、省略記号で区切られています
例
次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行することによってOracle SOA Cloud Serviceインスタンスのすべてのリストア操作を表示する方法を示しています。 詳細は、「cURLの使用」を参照してください。
「Backup」ページの概要に関する項も参照してください。
cURLコマンド
curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/restoredbackups
注意:: この例では、アメリカ合衆国でのURL接頭辞(soacs)を使用しています。 世界の他の地域のURL接頭辞の詳細は、「リクエストの送信」を参照してください。
レスポンス・ヘッダーの例
レスポンス・ヘッダーの例を次に示します。
HTTP/1.1 200 OK Date: Tue, 02 Sep 2014 14:27:58 GMT Content-Length: 1595 Content-Type: application/json
レスポンス本文の例
JSON形式のレスポンス本文の例を次に示します。
{ "restoreHistory": [ { "backupId":"1389925926116", "backupDate":"Thu Jan 16 18:32:06 PST 2014", "jobId":"505", "recoveryStartDate":"Thu Jan 16 18:32:46 PST 2014", "recoveryCompleteDate":"Thu Jan 16 18:33:00 PST 2014", "status":"Completed", "statusDetails":"Stopping WebLogic Server...Stopped WebLogic Server...Restoring the binary and configuration data for WebLogic Server administration server on host exampleinstance-wls-1...Restored the binary and configuration data for WebLogic Server administration server on host exampleinstance-wls-1...Restoring Oracle Traffic Director on host exampleinstance-lb-1...Restored Oracle Traffic Director on host exampleinstance-lb-1...Restoring the binary and configuration data for WebLogic Server administration server on host ...Restored the binary and configuration data for WebLogic Server administration server on host ...Starting WebLogic Server...Started WebLogic Server...Unlocked the WebLogic Server domain configuration... " "staticDataIncluded":false, "configDataIncluded":true, "otdIncluded":true, "notes":"JDK Patching" } ], "restoreInProgress": { "backupId":"1389926175465", "backupDate":"Thu Jan 16 18:36:15 PST 2014", "jobId":"606", "recoveryStartDate":"Thu Jan 16 18:37:55 PST 2014", "status":"In Progress", "statusDetails":"Restoration health check passed..." "staticDataIncluded":true, "configDataIncluded":true, "otdIncluded":true, "notes":"Notes..." } }