In this tutorial you will learn how to migrate your queue definitions from existing RabbitMQ service instance to a new created.
Order a new service instance with the same plan and configuration as your existing service. Create credential key for it.
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 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:
Get backup script restore_queues.js and make sure it is executable.
Login to RabbitMQ Management Dashboard and download 'rabbitmqadmin' tool adding '/cli' to your Management Dashboard URL:
Required parameters can be retrieved from credential key.
Connect to RabbitMQ Management Dashboard and check restored queue definitions.
Please find additional information here.