{
  "schema_version": 2,
  "id": "operate/rs/references/cli-utilities/rladmin/node/recovery-path",
  "title": "rladmin node recovery_path set",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin/node/recovery-path/",
  "summary": "Sets a node's local recovery path.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T10:14:21+01:00",
  "page_type": "content",
  "content_hash": "3f6116e533e3db805d61e8715e5574f7d9c76c4dde281603b6d25701fb39db77",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Sets the node's local recovery path, which specifies the directory where [persistence files](https://redis.io/docs/latest/operate/rs/databases/configure/database-persistence) are stored. You can use these persistence files to [recover a failed database](https://redis.io/docs/latest/operate/rs/databases/recover).\n\n[code example]"
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "| Parameter | Type/Value                     | Description                                                                                   |\n|-----------|--------------------------------|-----------------------------------------------------------------------------------------------|\n| node      | integer                        | Sets the recovery path for the specified node                                            |\n| path      | filepath                       | Path to the folder where persistence files are stored                                         |"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns `Updated successfully` if the recovery path was set. Otherwise, it returns an error."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "sh",
      "code": "rladmin node <ID> recovery_path set <path>",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ rladmin node 2 recovery_path set /var/opt/redislabs/persist/redis\nUpdated successfully.",
      "section_id": "example"
    }
  ]
}
