Export 重置状态数据库作请求
重置数据库导出状态请求
Redis 企业软件 |
---|
方法 | 路径 | 描述 |
---|---|---|
放 | /v1/bdbs/{uid}/actions/export_reset_status |
重置数据库导出状态 |
重置数据库导出状态
PUT /v1/bdbs/{int: uid}/actions/export_reset_status
重置数据库的export_status
如果导出未进行,则为 idle,并清除export_failure_reason
田。
权限
权限名称 | 角色 |
---|---|
reset_bdb_current_export_status | admin cluster_member db_member |
请求
HTTP 请求示例
PUT /v1/bdbs/1/actions/export_reset_status
Request headers
Key
Value
Description
Host
cnm.cluster.fqdn
Domain name
Accept
application/json
Accepted media type
URL parameters
Field
Type
Description
uid
integer
The unique ID of the database
Response
Returns a status code.
Status codes
Code
Description
200 OK
The request is accepted and is being processed.
404 Not Found
Attempting to perform an action on a nonexistent database.
406 Not Acceptable
Not all the modules loaded to the database support 'backup_restore' capability
409 Conflict
Database is currently busy with another action. In this context, this is a temporary condition and the request should be reattempted later.
On this page