Skip to main contentModule backup
Source - BackupEntry
- Metadata for a single database backup.
- BackupManifest
- Manifest that tracks all database backups.
- DbBackupManager
- Manages versioned SQLite database backups.
- RestoreError
- Errors that can occur when restoring a database backup.
- BACKUP_BUSY_SLEEP_MS ๐
- Milliseconds to sleep when the backup step returns
SQLITE_BUSY or SQLITE_LOCKED. - BACKUP_DIR ๐
- Subdirectory under the database directory where backups are stored.
- BACKUP_PAGE_COUNT ๐
- Number of pages copied per
sqlite3_backup_step iteration. - MAIN_DB_NAME ๐
- SQLite database name passed to the online backup API (
"main"). - MANIFEST_FILE ๐
- Filename of the TOML manifest that tracks all known backups.
- SQLITE_BUSY ๐
- SQLite result code indicating the database is busy.
- SQLITE_COMPANION_SUFFIXES ๐
- File suffixes for SQLite companion files (WAL and shared-memory).
- SQLITE_DONE ๐
- SQLite result code indicating the backup has finished.
- SQLITE_LOCKED ๐
- SQLite result code indicating a table-level lock conflict.
- SQLITE_OK ๐
- SQLite result code indicating success.
- add_suffix ๐
- Adds a suffix to a path before the file extension.
- copy_sqlite_files ๐
- Copies an SQLite database file and its WAL/SHM companions.
- online_backup ๐
- Creates an online backup of
src_pool at dest_path. - remove_sqlite_files ๐
- Removes an SQLite database file and its WAL/SHM companions.
- rename_sqlite_files ๐
- Renames an SQLite database file and its WAL/SHM companions.
- run_backup_steps ๐
- Synchronous backup step loop using the SQLite C API.
- sqlite_error_message ๐ โ
- Returns the SQLite error message for a database handle.