Skip to content

Commit

Permalink
Much simpler recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Oct 6, 2024
1 parent 9442c99 commit 71c1ad0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sqlite/compile-sqlite3-rsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Today I heard about the [sqlite3-rsync](https://sqlite.org/draft/rsync.html) command, currently available in a branch in the SQLite code repository. It provides a mechanism for efficiently creating or updating a copy of a SQLite database that is running in WAL mode, either locally or via SSH to another server.

**Update:** Thanks to [gary_0 on Hacker News](https://news.ycombinator.com/item?id=41749288#41760082) here's a MUCH simpler recipe:

```bash
git clone https://github.com/sqlite/sqlite.git
cd sqlite
./configure
make sqlite-rsync
```
So it looks like the `sqlite-rsync` command is no longer limited to a branch.

## How I compiled it without using make sqlite-rsync

After some poking around (and some hints from Claude) I found a recipe for compiling and running it that seems to work:

```bash
Expand Down

0 comments on commit 71c1ad0

Please sign in to comment.