From: Kern Sibbald Date: Mon, 24 Aug 2009 14:53:55 +0000 (+0200) Subject: Close bug #1351 SQLite2 to SQLite3 conversion X-Git-Tag: Release-7.0.0~2646^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=293c09df76232fc8cbed02d896607eca4bcf3e2a;p=bacula%2Fbacula Close bug #1351 SQLite2 to SQLite3 conversion --- diff --git a/bacula/technotes b/bacula/technotes index 7265a48af8..e9e1eaa9b4 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -2,6 +2,18 @@ General: +24Aug09 +kes Confirmation of procedure suggested for upgrading from SQLite2 + to SQLite3. This fixes bug #1351. Procedure is: + echo ".dump" | sqlite bacula.db >bacula.sql + mv bacula.db bacula.db.old + sed -i -e 's%INTEGER UNSIGNED AUTOINCREMENT,%INTEGER,%g' bacula.sql + (note: the above only works on Linux systems. On some systems + the -i option is not available. Adapt as necessary) + sqlite3 bacula.db + .quit + sqlite3 bacula.db