[erlang-questions] mnesia recovery
Fri Jul 16 10:55:36 CEST 2010
On Fri, Jul 16, 2010 at 8:23 AM, Dan Gudmundsson <> wrote:
> Also you can bootstrap a disc_node like you do with a ram_node..
> Delete everything on the mnesia_dir (not the dir), start mnesia and
> call mnesia:change_config(extra_db_nodes, [AliveAndKicking]).
> That should copy every table that the node should have a copy of and
> if it is available in the system
This method can be very useful if Mnesia's files have got corrupted or if
you have replaced the hardware.
Otherwise you can use mnesia:set_master_nodes/1 to force Mnesia to
load its tables from another node.
More information about the erlang-questions