RabbitMQ recovery

RabbitMQ keeps queue messages, node metadata, cluster identity, and consensus state in related but different stores.

RabbitMQ versions may use Mnesia or Khepri for metadata, while persistent queue messages and streams have separate storage. Definitions backups restore topology but do not necessarily contain message bodies.

Understand the symptom

Cluster metadata says what queues exist; message and Raft stores hold durable queue or stream state.

WHY

What is happening

A recovered message segment without matching queue and index metadata may not establish ordering or acknowledgement state. Node identity and feature compatibility matter when interpreting on-disk data.

What you may see

Symptoms that change the recovery path.

01

Queues disappeared

Metadata state, vhost, definitions, or cluster identity may be missing.

02

Message store index error

Persistent-message references and segment data disagree.

03

Quorum queue has no leader

Raft members or majority state are unavailable.

04

Node refuses to start

Metadata, feature flags, cookie, hostname, or store files may conflict.

Protect the source

Actions that can make the situation worse.

01

Reset deletes node state

Preserve storage before reset or force boot.

02

Definitions omit messages

Topology export is not a message-store backup.

03

Rejoin can replace local state

Clone every member before cluster repair.

Do this now

Safe steps before evaluation.

01

Quiesce publishers and nodes

Prevent new acknowledgements, compaction, and membership changes.

02

Snapshot all node directories

Keep message, metadata, Raft, stream, and configuration files.

03

Record identities and versions

Save hostnames, node names, cookies, feature flags, vhosts, and cluster status.

04

Collect replicas and consumers

Applications may retain unacknowledged or replayable payloads.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Store inventory

NEPFOSYS correlates node identity, metadata, message segments, indexes, queues, streams, and Raft state.

02

Copy-based extraction

Readable messages and records are recovered without altering cluster membership.

03

Queue validation

Payloads, routing context, order, timestamps, acknowledgements, and expected counts are reviewed.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Does a definitions export contain messages?

No. It normally captures topology and settings, not message bodies.

Can another quorum member help?

Yes, when it retains a sufficiently complete Raft log and store.

Should I run rabbitmqctl reset?

Not before preserving node data; reset removes local database state.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case