Restore interface
Submit a request to restore the data from backup
Headers
request_id
Request body
execute asynchronously or not
backup name to restore
if bucket_name and path is set. will override bucket/path in config.
collections to restore
2, give a map to rename the collections, if not given, use the original name. collection_renames has higher priority than collection_suffix
Support two ways to rename the collections while recover 1, set a suffix
database and collections to restore. A json string. for example: {"db1":["collection1"],"db2":["collection2","collection3"]}
determine which database and collections to restore after rename
if true, drop existing target collection before create
if true, drop existing index of target collection before create
map of old ezk to new ezk, used to replace encryption keys during restore
target max shard number
if true only restore meta, not restore data
if bucket_name and path is set. will override bucket/path in config.
whether restore RBAC
uuid of request, will generate one if not set
if true restore index info
if true, will skip collection, use when collection exist, restore index or data
if true, skip the diskQuota in Import
if true, truncate binlog by timestamp, for cdc
if true use autoindex when restore vector index
Response
OK
error msg if fail
uuid of the request to response