Description
ApexStore has manual snapshot capability but no automatic scheduled backups. Production deployments need automated backups.
Implementation
- Add
BackupScheduler background thread
- 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/"
- Backup naming:
snap-{cf}-{timestamp}
- Retention policy: delete backups older than N days
- Alert on backup failure (via webhook)
- List scheduled backups:
GET /admin/backups
Labels
Description
ApexStore has manual snapshot capability but no automatic scheduled backups. Production deployments need automated backups.
Implementation
BackupSchedulerbackground threadsnap-{cf}-{timestamp}GET /admin/backupsLabels