A Free, Off-Host Backup for Your SQLite App
Copying a live SQLite file with `cp` can hand you a torn, useless backup — the data you need is still in the write-ahead log. `VACUUM INTO` takes a consistent snapshot with the server running, and a systemd timer ships it to another box so a dead disk doesn't take your data with it.
russalo@blog ~ % ls -t posts/ | grep "#sqlite"
#sqlite
1 published post
russalo@blog ~ % cd ..