bitnami rmq statefulset, messages backup and restore #10380
Replies: 2 comments 3 replies
-
We cannot suggest anything specific with this much information. There can be all kinds of reasons, from node name changing between the two environments (which means the new node will start as a blank one, as if it never had any previous state) to your publishers publishing messages as transient which means RabbitMQ deletes them on next boot, as instructed by your applications. When a node initializes a new database, it will log a relevant message:
and a few more messages about seeding the default data (unless Boot time definition import is used).
So start with inspecting node logs. |
Beta Was this translation helpful? Give feedback.
-
also we are publishing persistent messages and not transient |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , I have been trying to backup the node directory and restore it on new server environment, but all my persistent messages are getting lost.
We are planning to upgrade RMQ, but the way our helm chart is configured, through argocd, upgrading one environment, ie, dev, sqa, uat, requires separation of the RMQ bitnami chart files to be separated. ArgoCD considers this as new installation and wipes of all the queue and messages.
I want to preserve the messages, we are able to restore queues through definitions but messages are not getting restored.
We have rmq 3.11.8 in one environment where we are testing it. But we are going from 3.10.9 to 3.11.8
I am scaling down RMQ stateful set to one replica and than stopping rmq , by running rabbitmqctl stop_app and then copy entire node directory to outside the pod.
Delete the environment through ArgoCD and recreate it. After recreation same server names come up , I import the definitions and than stop_app and restore the node directory from previous copy.
the moment I do start_app, all the messges are gone and they don't come up . I though this would work
any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions