Comment by tick_tock_tick
3 days ago
> Backup with cp.
cp is not a method to backup a SQLite file unless you can guarantee there are zero transactions in progress. See https://sqlite.org/howtocorrupt.html#_backup_or_restore_whil... for safe methods and consider switching your examples to use one of those.
Good point. I will definitely move away from cp.