monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Database recovery: `mtn load` into what?


From: Douglas Dickinson
Subject: Re: [Monotone-devel] Database recovery: `mtn load` into what?
Date: Tue, 22 May 2012 17:15:45 -0700

Just answered my own question:

    mtn db --db ./new.mtn  load  < previous.sql-dump

will *create* new.mtn from scratch

I'll update the wiki.

Happy hacking,
./ddd

On Mon, May 21, 2012 at 7:44 PM, Douglas Dickinson <address@hidden> wrote:
> Docs for `mtn db load` are unclear to me.
>    http://www.monotone.ca/docs/Database.html
> says:
>> the schema of the dumped database is included in the dump,
>> so you should not try to init your database before a load.
>
> OK, fine, but how do you create a database without `mtn db init`?
>
> Many thanks for your help!
> ./ddd
>
>
> Background / context:  I'm trying to fix a database for which `mtn db
> check` reports:
>
>> mtn: warning: 1 mismatched certs
>> mtn: check complete: 70679 files; 8777 rosters; 8777 revisions; 15 keys; 
>> 35677 certs; 8778 heights; 43 branches
>> mtn: total problems detected: 1 (0 serious)
>> mtn: minor problems detected
>
> --
> "Why, oh why, didn't I take the *blue* pill?"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]