<div dir="ltr">Thanks James.<div><br></div><div>Anothernode is the previous node name. Sorry for the "bad" name. </div><div><br></div><div>Looks like I can restore it successfully without changing node name process. What I missed is that creating the tables in the new node. </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-30 3:15 GMT+08:00 James Kingsbery <span dir="ltr"><<a href="mailto:06jameskingsbery@gmail.com" target="_blank">06jameskingsbery@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've followed those instructions before with success. I think you need to give more to go on - is <span style="font-size:12.8px">'web_</span><span style="font-size:12.8px">server@anothernode' the new node name? When you look at the node's name (eg, as shown in mnesia:info/0) what do you see?</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 25, 2016 at 7:38 AM, Yang Zhenguo <span dir="ltr"><<a href="mailto:yangzhenguo@gmail.com" target="_blank">yangzhenguo@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi Team,<div><br></div><div>Any suggestion on it?</div><div><br></div><div>Thanks,</div><div>Zhenguo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-24 22:14 GMT+08:00 Yang Zhenguo <span dir="ltr"><<a href="mailto:yangzhenguo@gmail.com" target="_blank">yangzhenguo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Folks,</div><div><br></div><div>Having a question about mnesia backup.</div><div><br></div><div>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.</div><div><br></div><div>I followed the steps here</div><div><a href="http://stackoverflow.com/questions/463400/how-to-rename-the-node-running-a-mnesia-database" target="_blank">http://stackoverflow.com/questions/463400/how-to-rename-the-node-running-a-mnesia-database</a></div><div><br></div><div>But got the errors below:</div><div>{aborted,{'EXIT',{aborted,{bad_commit,{missing_lock,'web_server@anothernode'}}}}}</div><div><br></div><div>The reason I want to change node name is in case I deploy it in another machine with different ip address.</div><div><br></div><div>May I have your suggestion? Many thanks.<span><font color="#888888"><span><font color="#888888"><br clear="all"><br>-- <br></font></span></font></span></div><span><font color="#888888"><span><font color="#888888"><div data-smartmail="gmail_signature"><div dir="ltr"><div>Zhenguo Yang<br></div><div><a href="http://www.prinbit.com" target="_blank">www.prinbit.com</a><br></div></div></div>
</font></span></font></span></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Zhenguo Yang<br></div><div><a href="http://www.prinbit.com" target="_blank">www.prinbit.com</a><br></div></div></div>
</font></span></div>
<br></div></div><span class="">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Zhenguo Yang<br></div><div><a href="http://www.prinbit.com" target="_blank">www.prinbit.com</a><br></div></div></div>
</div>