Image of Lucian Ghinda writing for notes.ghinda.com
August 19th, 2025

Remember to set the frequency for replication to Litestream!

Curious about how I ended up with an invoice nearing $100 for conducting over 20 million Class A operations on Cloudflare R2?

I initiated several Litestream processes across a variety of side projects and forgot to set the sync interval! :) It defaults to 1s

The backup I was handling was more complex than the main production database. It included slight variations in the SQLite file because it automatically queried various external services to check the status of different entities.

How to set sync-interval to litestream