benbjohnson / litestream

Streaming replication for SQLite.

Home Page:https://litestream.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need more examples

fardeadok opened this issue · comments

“ It runs as a background process and safely replicates changes incrementally to another file or S3.”

but there is no any example how to replicate from one file db to another file db

To replicate a database to a local path, you can do the following:
litestream replicate origin.db file:/path/to/replica.db

Then, you will be able to restore the database with the "restore" command.