> Is there a way to get a file similar to what .dump outputs in a binary format? Yes. The <https://www.sqlite.org/src/file/ext/misc/dbdump.c> file contains a stand-alone implementation of ".dump". You can make a copy of that file and modify it to generate whatever binary output format you desire. How do you propose to get your binary-dump format back into an SQLite database?