pub fn capture_backup_sqlite(
db: &Connection,
spec: &BackupSpec,
connection_name: &str,
database: Option<&str>,
policy: &Policy,
audit: Option<&Arc<AuditDb>>,
) -> Result<Option<CapturedBackup>, BackupError>Expand description
Capture a pre-mutation backup from a SQLite handle, enforcing the row and byte caps with the policy’s overflow behaviour.