RABBITMQ_MNESIA_BASE usage with Khepri enabled

36 views
Skip to first unread message

Vishnu Vardhan

unread,
Sep 29, 2025, 6:56:16 AM (8 days ago) Sep 29
to rabbitmq-users
Hi Team,


1. Is it still valid for me to set the value for RABBITMQ_MNESIA_BASE with khepri enabled ?
2. If answer for above question is "yes", as per the description of RABBITMQ_MNESIA_BASE will the message store, metadata etc. continue to get stored at path RABBITMQ_MNESIA_BASE with khepri introduction

The problem statement here is backup of message store, metadata etc. Till now with mnesia I used to take back of files at path RABBITMQ_MNESIA_BASE. So even with khepri does the logic of taking backup of path RABBITMQ_MNESIA_BASE will still be valid?

Thanks.

Michal Kuratczyk

unread,
Sep 29, 2025, 11:31:08 AM (8 days ago) Sep 29
to rabbitm...@googlegroups.com
It depends on what other variables you set. RABBITMQ_BASE is probably a better choice,
but RABBITMQ_MNESIA_BASE might still be the path you care about. See https://www.rabbitmq.com/docs/relocate
Again, the main change you'll see after enabling khepri is the "coordination" folder - just check where it is located
in your installation. 

Message stores are still where they were before. Confusing as the paths are for historical
reasons, messages were never stored in Mnesia, but their folders were often under the .../mnesia/ folder.

Lastly, metadata backup is generally easier to accomplish with a definition export. If what you want is to 
recreate the definitions of queues and other entities, rather than backing up Khepri (or Mnesia) you can
export the definitions and import them to a new cluster later. See https://www.rabbitmq.com/docs/definitions


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rabbitmq-users/3c69d07c-3478-42a6-a182-e14dcd606ac9n%40googlegroups.com.


--
Michal
RabbitMQ Team
Reply all
Reply to author
Forward
0 new messages