Re: Database recovery: `mtn load` into what?
Douglas Dickinson <[email protected]>
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <CAFx2nz=HjLWv82rM7ZERKmyEh2stSPjRjE6UNL1LbvFt73b+Nw@mail.gmail.com> |
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 <[email protected]> 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?"
_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel