Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.augustin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Nightly restic backups — encrypted, deduplicated, incremental. Retention: 7 daily, 4 weekly, 3 monthly.

Schedule

All times are local. Runs via crontab on each machine.
TimeMachineWhat
2:45ami3Stalwart email export (JMAP export of root@augustin.ai to stalwart/data/export/)
3:00ami3Full i3 backup to AWS S3
4:00amPentiumFull Pentium backup to AWS S3

Destination

All backups go to a single S3 bucket with per-machine prefixes:
SourceS3 Path
i3s3:s3.us-west-2.amazonaws.com/augustin-backups/i3
Pentiums3:s3.us-west-2.amazonaws.com/augustin-backups/pentium
IAM user restic-backup has scoped access to the augustin-backups bucket only. Credentials stored in scripts/.aws-env on both machines.

What’s Backed Up

  • All of /home/user/apps (config, data, compose files)
  • Database dumps created before backup runs:
    • Matrix/Synapse: docker exec matrix-db pg_dumpallmatrix/matrix-db-dump.sql
    • Miniflux: docker exec miniflux-db pg_dumpallreader/miniflux-db-dump.sql
  • Stalwart email export (JMAP) → stalwart/data/export/
  • Tarball of all .env files → env-backup.tar.gz
Excluded: postgres data dirs (dumped via pg_dumpall instead), node_modules, .git, chromium config. Media is not backed up (re-downloadable).

Scripts

  • scripts/backup-i3.sh — dumps databases, collects .env files, runs restic to S3, prunes
  • scripts/backup-pentium.sh — collects .env files, runs restic to S3, prunes
  • stalwart/backup-email.sh — exports Stalwart email account via JMAP CLI

Bootstrap Secrets

Stored in Apple Passwords — everything needed to restore from scratch:
  • Restic repository password
  • AWS credentials for restic-backup IAM user
  • GitHub SSH key