Using the SQLite Online Backup API Historically, backups (copies) of SQLite databases have been created using the following method: Establish a shared lock on the database file using the SQLite API (i.e. the shell tool). Copy the database file using an external tool (for example the unix 'cp' utility or the DOS 'copy' command). Relinquish the shared lock on the database file obtained in step 1. Th