Skip to content

Backup and Restore #1318

Answered by Zerpet
akarX23 asked this question in Q&A
Discussion options

You must be logged in to vote

Backup and restore of RabbitMQ is a challenging matter, since the data in RabbitMQ tends to be transient. In other words, messages are destroyed after consumption + acknowledgement, with the exception of Streams. This means that, in order to have a reliable backup, you have to stop a RabbitMQ cluster before taking a backup of the message stores. There's a guide in RabbitMQ doc on this topic: https://rabbitmq.com/backup.html

As how to do this in Kubernetes, you could try something like Velero, keeping in mind that you have to coordinate the shutdown of RabbitMQ, otherwise you are risking an inconsistent backup and data loss/duplicate messages.

For business continuity, the best solution out…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChunyiLyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants