[rabbitmq-discuss] Using export/import broker configuration as a way of backup/restore

Kapil Goyal goyalk at vmware.com
Fri Dec 13 20:12:18 GMT 2013


Hi Simon,

Thanks for your response. It is very useful. We are not using persistent
messages, so it appears that export/import will work well as
backup/restore.

Regards
Kapil

-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com] 
Sent: Thursday, December 12, 2013 2:35 AM
To: Discussions about RabbitMQ
Cc: Kapil Goyal
Subject: Re: [rabbitmq-discuss] Using export/import broker configuration
as a way of backup/restore

On 11/12/2013 20:14, Kapil Goyal wrote:
> I need to know what broker entities are not available for export. I am 
> aware messages and auto-delete queues are not exported. Are there any 
> more? Maybe point me to some document?

I don't think there's any documentation other than the code:

https://urldefense.proofpoint.com/v1/url?u=http://hg.rabbitmq.com/rabbitmq
-management/file/3eeb9cde47e4/src/rabbit_mgmt_wm_definitions.erl&k=oIvRg1%
2BdGAgOoM1BIlLLqw%3D%3D%0A&r=JF6BIRiITniYYZhbhzlgNvj%2FeB0%2BYbRBSr0f8NG91
qs%3D%0A&m=NWTmJKC6T4aDU1am5TpwVNjUl8A7ODONhrw8YU4Q9tw%3D%0A&s=5172be47e38
3be560ca3f40ca4288e525f747b78234a585aaebdbe264b9feb71

The basic idea is to export all metadata we can successfully recreate.

So we don't export:
* messages (not metadata)
* connections and channels (obviously)
* exclusive queues (can't be recreated without a connection to attach to)
* built in exchanges (can't be recreated / no point)
* bindings to queues we are not going to export (no point)
* bindings to the default exchange (will be automatically recreated)

Auto-delete queues *are* exported.

Cheers, Simon


More information about the rabbitmq-discuss mailing list