ByteBite Docs
Infrastructure

Backups

Traefik configuration snapshots and backup gaps.

Backups

ByteBite currently has local Traefik configuration snapshots on BYTEBITE-APP-01. There is no established off-host backup strategy for PostgreSQL or full disaster recovery.

Backup paths verified: 2026-09-08

Traefik snapshots (local)

Two recovery snapshots exist on the APP VM under /root/:

Pre-wildcard backup

/root/bytebite-traefik-backup-20260908-172700/

Contains:

  • Traefik static configuration
  • Original acme.json
  • Dokploy dynamic files
  • Container inspect output
  • Image inspect output
  • Docker network inspect output
  • Checksums

Post-wildcard backup

/root/bytebite-traefik-post-wildcard-20260908-175333/

Contains current working wildcard-era configuration:

  • traefik.yml
  • acme.json
  • acme-cloudflare.json
  • Container inspect output
  • Checksums

Purpose

These snapshots are configuration rollback points for Traefik/TLS recovery. They are useful when:

  • Wildcard TLS breaks after a config change
  • Dokploy recreates dokploy-traefik without custom wiring
  • ACME state needs restoration

Security of ACME material

Backup directories contain acme.json and acme-cloudflare.json with Let's Encrypt account keys and certificates. Treat backups as sensitive:

  • Restrict access to root / authorized operators
  • Do not copy to unsecured locations
  • Do not commit to Git

Limitations

LimitationImpact
Stored on same VM as production servicesLost if APP VM or storage fails
No automated schedule documentedManual snapshot only
No PostgreSQL dataDatabase loss is not recoverable from these backups
No application container stateOnly Traefik/infrastructure config

These are not sufficient for full disaster recovery.

PostgreSQL backups

AspectStatus
Off-host backup strategyNot established
Dokploy automated backupsUnknown — not verified
Point-in-time recoveryNot available
Restore procedureNot documented (gap)

Future requirements

Before production go-live:

  • Automated PostgreSQL backups to off-host storage
  • Backup verification / restore drills
  • Retention policy
  • Monitoring for backup failures

See Known gaps and Disaster recovery.

On this page