Backups
Hostrig backs up data services (Postgres and Redis). Open a Postgres/Redis service and use its Database / Backups tabs — there is no project-level Database or Backups section.
Drivers expose a shared BackupCapable interface so the same UI works for each kind.
Snapshots
Section titled “Snapshots”On-demand or scheduled backups call each backup-capable resource:
- Postgres —
pg_dump -Fcof the dedicated project instance → MinIO - Redis — full-instance key export → MinIO
Retention: DEPLOW_BACKUP_RETAIN (default 7) per resource link.
Point-in-time recovery (PITR)
Section titled “Point-in-time recovery (PITR)”PITR applies to the project’s dedicated Postgres container only (stanza = project id).
DEPLOW_PITR_ENABLED=1PGBACKREST_CONFIG=/absolute/path/to/infra/pgbackrest/pgbackrest.conf- Copy
infra/pgbackrest/pgbackrest.conf.example→pgbackrest.conf(or edit the checked-in local conf). - Add a
[<project-id>]stanza (userp_<slug>, databased_<slug>). - Create the stanza against the data volume:
./infra/pgbackrest/ensure-stanza.sh <project-id> <project-slug>Restore stops that container, restores its data volume to the target time, and starts it again — the whole instance for that project, not a single DB carved out of a shared cluster.
Redis does not support PITR in v1 (use snapshots / export-import).
The service Backups tab shows the recoverable window when PITR is enabled and offers Restore to point in time.