Also..was your database created on the same machine you're restoring on? Page size difference will create this error too. Michael D. Black Senior Scientist Northrop Grumman Mission Systems
________________________________ From: [email protected] on behalf of Alexey Pechnikov Sent: Fri 4/30/2010 7:44 AM To: [email protected] Subject: [sqlite] "restore" doesn't work $ sqlite3 :memory: SQLite version 3.6.23 sqlite> .restore './work.db' Error: attempt to write a readonly database sqlite> .q $ sqlite3 SQLite version 3.6.23 sqlite> .restore './work.db' Error: attempt to write a readonly database sqlite> .q $ sqlite3 test.db SQLite version 3.6.23 sqlite> .restore './work.db' sqlite> .q -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

