[erlang-questions] The way to backup mnesia data daily

James Kingsbery <>
Fri Jul 29 21:15:15 CEST 2016


I've followed those instructions before with success. I think you need to
give more to go on - is '' the new node name? When
you look at the node's name (eg, as shown in mnesia:info/0) what do you see?

I would add that you should look at what your box is doing when you run
backups. Depending on what sort of data you have stored, it could use a lot
of resources and make the box sluggish or even cause a kernel panic.

On Mon, Jul 25, 2016 at 7:38 AM, Yang Zhenguo <> wrote:

> Hi Team,
>
> Any suggestion on it?
>
> Thanks,
> Zhenguo
>
> 2016-07-24 22:14 GMT+08:00 Yang Zhenguo <>:
>
>> Hi Folks,
>>
>> Having a question about mnesia backup.
>>
>> We have an application running based on Erlang Cowboy and Mnesia. I am
>> wondering to know what is a good way to backup mnesia data daily, since we
>> only have one node.
>>
>> I followed the steps here
>>
>> http://stackoverflow.com/questions/463400/how-to-rename-the-node-running-a-mnesia-database
>>
>> But got the errors below:
>>
>> {aborted,{'EXIT',{aborted,{bad_commit,{missing_lock,'
>> '}}}}‌​}
>>
>> The reason I want to change node name is in case I deploy it in another
>> machine with different ip address.
>>
>> May I have your suggestion? Many thanks.
>>
>> --
>> Zhenguo Yang
>> www.prinbit.com
>>
>
>
>
> --
> Zhenguo Yang
> www.prinbit.com
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160729/0f00a589/attachment.html>


More information about the erlang-questions mailing list