Skip to content

[RESILIENCE] Automatic backup scheduling — periodic snapshots with configurable retention #233

@ElioNeto

Description

@ElioNeto

Description

ApexStore has manual snapshot capability but no automatic scheduled backups. Production deployments need automated backups.

Implementation

  1. Add BackupScheduler background thread
  2. Configuration:
resilience:
  backup:
    enabled: true
    interval_secs: 3600  # hourly
    retention_days: 30
    directory: /var/backups/apexstore
    compress: true
    upload_to_s3: false  # optional S3 upload
    s3_bucket: ""
    s3_prefix: "backups/"
  1. Backup naming: snap-{cf}-{timestamp}
  2. Retention policy: delete backups older than N days
  3. Alert on backup failure (via webhook)
  4. List scheduled backups: GET /admin/backups

Labels

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions