SQLite 3 · Import, export and backup
Run a SQL script
Execute the statements in a file.
.read schema.sql
Official SQLite 3 documentation
More import, export and backup commands
- Import a CSV file
- Export a query to CSV
- Dump the database as SQL
- Restore from a SQL dump
- Make a binary backup
All import, export and backup commands · SQLite 3 cheatsheet