by CaliforniaKarl · 5y ago · 0 comments
But now as I'm looking through SQLite docs, I found VACUUM INTO (https://www.sqlite.org/lang_vacuum.html#vacuuminto), which lets you do a backup of an in-use database, combined with a VACUUM on the new database file!
$ sqlite3 filename.sql ".backup backupFilename_YYYYMMDD.sql"
But VACUUM INTO looks better.