sqlite3_rsync
An official SQLite remote backup tool that transfers page-level differences over SSH, enabling consistent snapshots to be created without a complete local copy.
Timeline (last 90 days)
sqlite3_rsync was enhanced in SQLite 3.50.0.
The core feature of sqlite3_rsync is that it can copy a snapshot to another machine over SSH without creating a full local copy of the database.
The core idea of sqlite3_rsync's differential transfer protocol is: the replica side sends encrypted hashes of pages or page groups to the source side, and the source side returns pages whose contents differ, or requests finer-grained hashes when the hash of a multi-page group does not match.
When the initial difference between the source and replica sides is huge, the total network bandwidth of sqlite3_rsync may exceed the size of the entire database, but by at most a few percentage points.
sqlite3_rsync relies on an SSH connection, and remote access permissions must be configured before use.
Simon Willison wrote in his blog that he had covered this application when sqlite3_rsync was first released, but only recently came to appreciate its unique value again.
All Facts (6)
sqlite3_rsync was enhanced in SQLite 3.50.0.
50%UnverifiedThe core feature of sqlite3_rsync is that it can copy a snapshot to another machine over SSH without creating a full local copy of the database.
50%UnverifiedThe core idea of sqlite3_rsync's differential transfer protocol is: the replica side sends encrypted hashes of pages or page groups to the source side, and the source side returns pages whose contents differ, or requests finer-grained hashes when the hash of a multi-page group does not match.
50%UnverifiedWhen the initial difference between the source and replica sides is huge, the total network bandwidth of sqlite3_rsync may exceed the size of the entire database, but by at most a few percentage points.
50%Unverifiedsqlite3_rsync relies on an SSH connection, and remote access permissions must be configured before use.
50%UnverifiedSimon Willison wrote in his blog that he had covered this application when sqlite3_rsync was first released, but only recently came to appreciate its unique value again.
50%