Skip to content

Automated database backups #15

@howwohmm

Description

@howwohmm

Problem

Single SQLite file on a single droplet. No automated backup. One disk failure or bad migration = total data loss for all users. Only backup mechanism is manual `/api/admin/db/download`.

Solution

  • Daily automated backup of the SQLite DB (or Postgres after migration)
  • Upload to DigitalOcean Spaces or S3
  • Retain last 30 days of backups
  • Alert if backup fails

Acceptance Criteria

  • Daily automated backup running
  • Backups stored off-server
  • Retention policy (30 days)
  • Alert on backup failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — operational paininfraInfrastructure

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions