{
  "id": "recover",
  "title": "rladmin cluster recover",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/cli-utilities/rladmin/cluster/recover/",
  "summary": "Recovers a cluster from a backup file.",
  "content": "\nRecovers a cluster from a backup file. The default location of the configuration backup file is `/var/opt/redislabs/persist/ccs/ccs-redis.rdb`.\n\n```sh\nrladmin cluster recover\n        filename \u003crecovery filename\u003e\n        [ ephemeral_path \u003cpath\u003e ]\n        [ persistent_path \u003cpath\u003e ]\n        [ ccs_persistent_path \u003cpath\u003e ]\n        [ rack_id \u003cID\u003e ]\n        [ override_rack_id ]\n        [ node_uid \u003cnumber\u003e ]\n        [ flash_enabled ]\n        [ flash_path \u003cpath\u003e ]\n        [ addr \u003cIP address\u003e ]\n        [ external_addr \u003cIP address\u003e ]\n```\n\n### Parameters\n\n| Parameter | Type/Value | Description |\n|-----------|------------|-------------|\n| addr | IP address | Sets a node's internal IP address. If not provided, the node sets the address automatically. (optional) |\n| ccs_persistent_path | filepath | Path to the location of CCS snapshots (default is the same as persistent_path) (optional) |\n| external_addr | IP address | Sets a node's external IP address. If not provided, the node sets the address automatically. (optional) |\n| ephemeral_path | filepath (default:\u0026nbsp;/var/opt/redislabs) | Path to an ephemeral storage location (optional) |\n| filename | filepath | Backup file to use for recovery |\n| flash_enabled | | Enables flash storage (optional) |\n| flash_path | filepath (default:\u0026nbsp;/var/opt/redislabs/flash) | Path to the flash storage location in case the node does not support CAPI (required if flash_enabled) |\n| node_uid | integer (default:\u0026nbsp;1) | Specifies which node will recover first and become master (optional) |\n| override_rack_id | | Changes to a new rack, specified by `rack_id` (optional) |\n| persistent_path | filepath | Path to the persistent storage location (optional) |\n| rack_id | string | Switches to the specified rack (optional) |\n\n### Returns\n\nReturns `ok` if the cluster recovered successfully. Otherwise, it returns an error message.\n\n### Example\n\n```sh\n$ rladmin cluster recover filename /tmp/persist/ccs/ccs-redis.rdb node_uid 1 rack_id 5\nInitiating cluster recovery... ok\n```\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

