restic is the encrypted, deduplicated, incremental backup tool I run in production on several servers. A practical guide to installing it on Debian, setting up an S3-compatible repository, automating daily backups with systemd, and verifying that restore actually works before you need it.
This guide installs PostgreSQL 18.6 with pgvector 0.8.6 on Debian or Ubuntu from the official PGDG repository, or in Docker. It creates a dedicated role and database, tunes memory for production, and explains when HNSW beats IVFFlat, with recall and build times measured on 99,000 embeddings.
Installing Docker on Debian 13 means replacing Debian's docker.io package (26.1.5) with the official repository: store the key in /etc/apt/keyrings/docker.asc, declare the repository in docker.sources, install docker-ce, docker-ce-cli, containerd.io, docker-buildx-plugin and docker-compose-plugin, then set log rotation and live-restore in daemon.json before exposing the server to production.
13 min2654.5
We use first- and third-party cookies to analyze site traffic. You can accept them, reject them, or configure your choice.
Learn more about cookies
Cookie preferences
NecessaryEssential for the site to work. Always on.
AnalyticsHelp us understand how the site is used (Google Analytics).