rladmin node recovery_path set
Sets a node's local recovery path.
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
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.