sqlite3_rsync: Database Remote-Copy Tool For SQLite
sqlite3_rsync lets developers snapshot or sync a live SQLite database to a remote machine over SSH without needing free disk space for a full local copy.
SQLite is a widely used database program that stores data in a single file. It ships a tool called sqlite3_rsync that can copy that file to another computer over an encrypted remote-login connection called SSH. Unlike older copy methods, it never needs to make a duplicate on the original machine's disk, and it only transmits the parts of the file that changed, like the familiar rsync tool.
Teams running SQLite on small servers can now back up or replicate databases to remote hosts without needing spare disk space equal to the database size, removing a real operational constraint. The tool has shipped since SQLite 3.47.0 in October 2024 and was enhanced in 3.50.0 in May 2025. Sync traffic stays close to full-database size only when replicas differ wildly, with overhead of a few percent.
sqlite3_rsync, bundled since SQLite 3.47.0 (October 2024) and improved in 3.50.0 (May 2025), snapshots a database to a remote host over SSH without a local copy, unlike the backup API or VACUUM INTO. The replica sends cryptographic hashes of pages or page groups; the origin returns differing page content or requests finer-grain hashes when multi-page hashes mismatch. If the replica diverges substantially, hash exchange overhead can push total transfer past full-database size, though the excess is a few percent at most.