[erlang-questions] Re: Use Mnesia backup on other machines

Chandru chandrashekhar.mullaparthi@REDACTED
Tue Sep 1 12:08:16 CEST 2009

2009/9/1 ngocdaothanh <ngocdaothanh@REDACTED>

> Thank you for the answers.
> > Is this about the actual file movement, or about whether a mnesia backup
> done on cluster A can be restored on cluster B?
> I mean for a same version of Erlang, is the default backup file cross-
> platform and can be restored anywhere just like a PostgreSQL backup
> file? How can I create backup file on a remote server running Ubuntu,
> then restore it to my local Snow Leopard laptop? I heard somewhere
> that once created a Mnesia DB will be fixed to a node name, simply
> copying it doesn't work.

If you just want the contents of some/all tables restored, you can use the
backup anywhere. If you want the entire database rebuilt from scratch using
the backup, the node names have to match. There is a way to change node
names in the backup file if you need the latter. Refer to the Mnesia user
guide for details.


More information about the erlang-questions mailing list