Skip to content

Instantly share code, notes, and snippets.

@boyvanamstel
Created May 24, 2011 14:14
Show Gist options
  • Save boyvanamstel/988766 to your computer and use it in GitHub Desktop.
Save boyvanamstel/988766 to your computer and use it in GitHub Desktop.
Export and import SQLite
# export
sqlite3 database.sqlite .dump > output.sql
# import
cat output.sql | sqlite3 database.sqlite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment