Currently there's no great way to perform a proper backup of a sqlite database if you use the built-in sqlite in emacs 29.  If you just copy the file, there's a chance another database user is in the middle of something, and the database could be corrupted.

I've included a patch that fixes this. I would the sqlite-backup function to exist so I can use it in the ELPA triples package.