3 ms·
> 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/howtocorr
by tick_tock_tick 8mo 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_while_a_transaction_is_active https://sqlite.org/howtocorrupt.html#_backup_or_restore_whil... for safe methods and consider switching your examples to use one of those.
- cpcloud 8mo agoGood point. I will definitely move away from cp.