Scheduled SQLite Backups With a systemd Timer: The 10-Minute Setup
A daily SQLite backup you never have to think about: a systemd timer running VACUUM INTO, plus retention and a restore-test hook. Real config included.
A daily SQLite backup you never have to think about: a systemd timer running VACUUM INTO, plus retention and a restore-test hook. Real config included.
The exact systemd unit I run for Go services: restart policy, hardening, environment file, and the flags that stop a crash from becoming an outage.
One binary, one file, one cheap VPS: the honest full stack behind a Go + SQLite service — systemd, nginx, Cloudflare, backups, and what each piece is for.
A complete, working deployment recipe for Go web services on a VPS: cross-compile, systemd unit, nginx reverse proxy, secrets, logging, and zero-downtime restarts.