[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: file-system archaeology
From: |
Zack Weinberg |
Subject: |
Re: [Monotone-devel] Re: file-system archaeology |
Date: |
Mon, 4 May 2009 11:52:09 -0700 |
On Mon, May 4, 2009 at 10:07 AM, Lapo Luchini <address@hidden> wrote:
>
> To experiment page_size, a simple shell script can be used, such as:
>
> ( echo 'PRAGMA page_size = 1024;' ; echo .dump | sqlite3 old-db ) \
> | sqlite3 new-db
Caution: you also need
echo 'PRAGMA user_version = 1598903374;'
inside the parentheses, or mtn will refuse to read the copied
database. Arguably a bug in sqlite3 .dump, that.
zw