backup_restore
Restore Redis data from backups by specifying the file and optional parameters like path and database flush settings.
Instructions
从备份恢复 Redis 数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | 备份文件名 | |
flushBeforeRestore | No | 恢复前是否清空数据库(可选,默认为 false) | |
path | No | 备份路径(可选) |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"description": "备份文件名",
"type": "string"
},
"flushBeforeRestore": {
"description": "恢复前是否清空数据库(可选,默认为 false)",
"type": "boolean"
},
"path": {
"description": "备份路径(可选)",
"type": "string"
}
},
"required": [
"filename"
],
"type": "object"
}