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

Yang Zhenguo <>
Mon Jul 25 16:20:46 CEST 2016


I tried to add checkpoint, but got the following error:
 mnesia:activate_checkpoint([]).
{error,{combine_error,{{1469,456316,975708},
                       ''},
                      [{min,[]},{max,[]}]}}

2016-07-25 19:38 GMT+08:00 Yang Zhenguo <>:

> 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
>



-- 
Zhenguo Yang
www.prinbit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160725/315ad96e/attachment.html>


More information about the erlang-questions mailing list