3 ms·
An sqlite database is a single file. So backing it up is as easy as copying that single file to an archive directory.
by japhyr 7y ago
An sqlite database is a single file. So backing it up is as easy as copying that single file to an archive directory.
- thijsvandien 7y agoEssentially true, but you need to make sure the file will be in a consistent state. Rather than locking it, it’s better to use the Backup API or VACUUM INTO command.