summaryrefslogtreecommitdiff
path: root/api-ref/source/parameters.yaml
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2021-02-16 12:23:19 +1300
committerLingxian Kong <anlin.kong@gmail.com>2021-02-18 17:34:37 +0000
commit6fdf11ea7f5c77e83dd746fa33b7a354417aec08 (patch)
treed66f3528a6a36911dd55ce654b095aca8cceb3aa /api-ref/source/parameters.yaml
parent9c2e0bf3a0f1bc0b35a148174d8a4d2083f2b3c5 (diff)
downloadtrove-6fdf11ea7f5c77e83dd746fa33b7a354417aec08.tar.gz
Support to restore backup from remote location
In multi-region deployment with geo-replicated Swift, the user can restore a backup in one region by manually specifying the original backup data location created in another region. Change-Id: Iefef3bf969163af707935445bc23299400dc88c3
Diffstat (limited to 'api-ref/source/parameters.yaml')
-rwxr-xr-xapi-ref/source/parameters.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 6918f2e4..a2c6c910 100755
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -148,7 +148,7 @@ backup_instanceId:
description: |
The ID of the instance to create backup for.
in: body
- required: true
+ required: false
type: string
backup_list:
description: |
@@ -180,6 +180,17 @@ backup_parentId1:
in: body
required: true
type: string
+backup_restore_from:
+ description: |
+ The information needed to restore a backup, including:
+
+ - ``remote_location``: The original backup data location.
+ - ``local_datastore_version_id``: The local datastore version corresponding
+ to the original backup.
+ - ``size``: The original backup size.
+ in: body
+ required: false
+ type: object
backup_size:
description: |
Size of the backup, the unit is GB.