Hacker News new | ask | show | jobs
by djakaitis 1713 days ago
I hope you’re backing up customer data if you store any…
1 comments

Definitely.

In fact, it's super easy to back up as it's in a SQLite database (for now).

How do you backup the SQLite?

I used to rsync them, but when traffic picked up, I started to fear an inconsistent copy (rsync does verify at the end there are no new changes, and restarts - but i don’t know the exact strategy so I am wear if relying on it).

I switched to doing .backup and rsync that instead - but am considering switching to litestream instead.