SQLite Forum

Backup via file system backup software
Login
You cannot backup an open, changing, SQLite database and depend on getting a perfect uncorrupted backup.  Because your backup doesn't take a snapshot of the database and its journal file all in the same instant, you will get inconsistencies.

Either close all writing connections to the database while it's being backed up (standard simple way to do it, takes no extra space or time), or use the backup API to take a copy of it, and backup the copy.