So I found out my astdb database is boink (asterisk 1.8.something): [Jul 15 06:42:28] ERROR[18769] res_config_sqlite.c: database disk image is malformed # first stop asterisk before doing this, and do it on a copy: sqlite3 ./sqlite.db .dump |less PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; /**** ERROR: (26) file is encrypted or is not a database *****/ ROLLBACK; -- due to errors (END) Anything I can do to repair it? If not, how can I recreate it? What is stored in it (https://wiki.asterisk.org/wiki/display/AST/SQLite3+astdb+back-end was not particularly helpful)?