[erlang-questions] Mnesia Backup/Fallback Problems With Schema

Gordon Guthrie gordon@REDACTED
Sun Jun 10 12:54:25 CEST 2012


> Or mebbies your way is better, simply pass in a fun to the backup
> traverse to write out the records in tables that I want to bring
> over...

That's turned out to be a scoosh, once you have worked out that the
default backup module is called mnesia_backup - which the doco's don't
say anywhere :(

Cheers folks, just need to get mnesia starting again (but that's a
matter for the other thread...)

Gordon

On 8 June 2012 12:33, Gordon Guthrie <gordon@REDACTED> wrote:
> Dan
>
> I think what I will do is create a second node on the target system,
> restore to that, then replicate/copy the tables across...
>
> Then I can take down the restored db node.
>
> Or mebbies your way is better, simply pass in a fun to the backup
> traverse to write out the records in tables that I want to bring
> over...
>
> Gordon
>
> On 8 June 2012 12:30, Dan Gudmundsson <dgud@REDACTED> wrote:
>> On Fri, Jun 8, 2012 at 1:11 PM, Gordon Guthrie <gordon@REDACTED> wrote:
>>> So essentially there is no way to selectively restore large tables?
>>
>> Nope, you will have to restart from a complete system backup.
>>
>> Or you can write if you do something dirty, like take the system
>> offline, down to single node,
>> traverse the backup and and lot of dirty_writes.



More information about the erlang-questions mailing list