A practical backup strategy
Best Practices5 min readlast updated 25 Nov 2026
3-2-1 in practice
3 copies of your data, on 2 different media, with 1 off-site.
Our automated backups tick the off-site box (S3-compatible storage in a separate location). Add:
- On-demand backup before any big change (one click in the panel)
- A local copy of your critical files or database dumps
# Dump a Postgres database on schedule
pg_dump "$DATABASE_URL" | gzip > backup-$(date +%F).sql.gz
Restore drills
A backup you have never restored is a hope, not a backup. Once a month, restore something small and verify it.