Docs Self-Managed Reference rpk Commands rpk cluster rpk cluster partitions rpk cluster partitions unsafe-recover This is documentation for Self-Managed v23.3. To view the latest available version of the docs, see v24.2. rpk cluster partitions unsafe-recover Recover unsafely from partitions that have lost majority. This operation is unsafe because it allows the forced leader election of the partitions that have lost majority when nodes are gone and irrecoverable; this may result in data loss. This command allows you to unsafely recover all data adversely affected by the loss of the nodes specified in the --from-nodes flag. You can perform a dry run and verify the partitions that will be recovered by using the --dry flag. Usage rpk cluster partitions unsafe-recover [flags] Flags Value Type Description --dry - Dry run: print the partition movement plan. Does not execute it. --format string Output format. Possible values: json, yaml, text, wide, help. Default: text. --from-nodes - Comma-separated list of node IDs from which to recover the partitions. -h, --help - Help for unsafe-recover. --no-confirm - Disable confirmation prompt. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk cluster partitions move-status rpk cluster self-test