Moving mnesia schema to another node

Ulf Wiger <>
Mon Jan 14 18:00:54 CET 2002

On Fri, 11 Jan 2002, Erik Pearson wrote:

>Thanks for the pointer. I just returned from winter holiday and will apply
>this technique shortly. It seems like an awfully inefficient way of
>changing just the node for a table, especially if one is dealing with large
>(Should there not be a simpler technique for moving disc based tables from
>one node to another? E.g. substitution of table attributes at either backup
>or restore (and a table creation option for restore))

In a running system, you'd simply call
mnesia:delete_table_copy(...)  / mnesia:add_table_copy(...). The
technique of traversing the backup is rather a means to relocate
the entire database.


More information about the erlang-questions mailing list