echo ".dump" | sqlite3 old.db | sqlite3 new.db
Explanation: pipe “.dump” to sqlite and use that output (the dump itself) to fill the new.db database.
A blog on rails, php, computing, my bass guitar and stuff
September 17th, 2012 | development, Linux
echo ".dump" | sqlite3 old.db | sqlite3 new.db
Explanation: pipe “.dump” to sqlite and use that output (the dump itself) to fill the new.db database.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment