3 ms·
You can't use a filesystem snapshotting mechanism... Even when not using wal mode, you can't just cp the .db file somewhere (in some circumstances, yes). Inste
by sureglymop 3y ago
You can't use a filesystem snapshotting mechanism... Even when not using wal mode, you can't just cp the .db file somewhere (in some circumstances, yes).
Instead, sqlite provides an online backup api specifically for creating backups. This also takes wal mode into account.