sqlite3_rsync: Database Remote-Copy Tool for SQLite
Simon Willison, Thursday, November 26th, 2026
Simon Willison highlights that sqlite3_rsync can snapshot a SQLite database over SSH without needing a full local copy first.
sqlite3_rsync is an additional SQLite tool added as experimental in SQLite 3.47.0 in October 2024 and enhanced in SQLite 3.50.0 in May 2025.
Unlike the backup API or VACUUM INTO, which need enough disk space for a duplicate database, it can copy a snapshot over an SSH connection to another machine without creating a full local copy, and it can also synchronize an existing copy without re-transmitting the whole database.
The replica sends cryptographic hashes for pages or groups of pages, and the origin returns differing page content or asks for finer-grained hashes.
If the two sides differ vastly, bandwidth can exceed the database size, but only by a few percent at most.