备份重置状态数据库作请求
重置数据库备份状态请求
Redis 企业软件 |
---|
方法 | 路径 | 描述 |
---|---|---|
放 | /v1/bdbs/{uid}/actions/backup_reset_status |
重置数据库备份状态 |
重置数据库备份状态
PUT /v1/bdbs/{int: uid}/actions/backup_reset_status
Resets the database's
backup_status
to idle if a backup is not in progress and clears the value of the backup_failure_reason
field.
Permissions
Permission name
Roles
reset_bdb_current_backup_status
admin
cluster_member
db_member
Request
Example HTTP request
PUT /v1/bdbs/1/actions/backup_reset_status
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