rladmin 节点recovery_path设置

设置节点的本地恢复路径。

Redis 企业软件

设置节点的本地恢复路径,该路径指定存储持久性文件的目录。您可以使用这些持久性文件来恢复失败的数据库

rladmin node <ID> recovery_path set <path>

Parameters

Parameter Type/Value Description
node integer Sets the recovery path for the specified node
path filepath Path to the folder where persistence files are stored

Returns

Returns Updated successfully if the recovery path was set. Otherwise, it returns an error.

Example

$ rladmin node 2 recovery_path set /var/opt/redislabs/persist/redis
Updated successfully.
RATE THIS PAGE
Back to top ↑