4 ms·
> You'll have to shut the app down to back it up. This is not the case: 1) SQLite recommends using the official backup API, rather than copying files on disk.
by spiffytech 4y ago
> You'll have to shut the app down to back it up.
This is not the case:
1) SQLite recommends using the official backup API, rather than copying files on disk. The backup API can be used while the app is running.
2) Litestream is the hot new tool on the block. It streams incremental DB changes to a backup stored on S3, for up-to-date point-in-time recovery.
- beagle3 4y agoAdding to (1), you don't have to code anything to the backup API - the standard "sqlite3" command line has a ".backup" command that does it for you.