Sets the node’s local recovery path, which specifies the directory where persistence files are stored. You can use these persistence files to recover a failed database.

rladmin node <ID> recovery_path set <path>

Parameters

ParameterType/ValueDescription
nodeintegerSets the recovery path for the specified node
pathfilepathPath 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.