How to migrate data to a new RabbitMQ service instance
In this tutorial you will learn how to migrate your queue definitions from existing RabbitMQ service instance to a new created.
Requirements
cat
openssl
gunzip
nodejs (min. v. 6.11.0)
python (min. v. 2.7.9)
restore_queues.js
rabbitmqadmin
Migration steps
Order and configure a new target service instance
Order a new service instance with the same plan and configuration as your existing service. Create credential key for it.
Trigger manual backup of your source service instance
Open Service Dashboard to manually trigger a backup of your source service instance. Please make sure you set an encryption password. Instructions can be found here.
Download and prepare backup
Download the latest backup of source service instance from Service Dashboard and store it on your local machine.
Use following commands to decrypt and decompress the backup file: