[rabbitmq-discuss] How does Messages will be persisted in RabbitMQ?
Rajasekhar P
sekhar434145 at gmail.com
Fri Aug 30 13:40:16 BST 2013
I have added RABBITMQ_BASE, RABBITMQ_MNESIA_DIR and RABBITMQ_MNESIA_BASE in
envt var's. But, the folder RABBITMQ_MNESIA_DIR folder is not updated even
after restarting the server. Do I need to setup any other things?
On Fri, Aug 30, 2013 at 5:19 PM, Michael Klishin <michael at rabbitmq.com>wrote:
> Rajasekhar P:
>
> > So, you mean we shouldn't use any database where RabbitMQ does for us ,
> >
> > 1> with internal database and
> > 2> even it doesn't use even any file system.
> >
> > In this case how can we restore the database in case of server crash or
> some other issue.
>
> RabbitMQ will recover durable queues/exchanges and persistent messages in
> those queues
> on start. It will also perform database upgrades when you install a newer
> version.
>
> To create a backup RabbitMQ database you need to stop the node and copy
> Mnesia directory,
> the archive it how you see appropriate. To restore, replace Mnesia
> directory dir with a one
> from backup.
>
> You can try it locally by overriding RABBITMQ_MNESIA_DIR, see
> http://www.rabbitmq.com/relocate.html.
>
> MK
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130830/a285a3d2/attachment.htm>
More information about the rabbitmq-discuss
mailing list