Backup sqlite

From Yefu's notes
Jump to: navigation, search

You cannot directly copy the database file to backup a sqlite database! Should use something like this:

sqlite3 some.sqlite '.dump' > /tmp/o.sql