feat: backup queue system for concurrent backup conflicts #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
When a backup is triggered while another is already running for the same profile, the preflight check currently blocks with an error. Users have no option but to wait or manually cancel the stalled backup. We need a queue system so backups can wait their turn instead of failing.
Requirements
Profile-level conflict behavior setting
Add a new field to the backup profile: Queue Behavior (
queue_behavior) with options:Queue mechanics
pendingorqueuedstatus in the records tablequeue_behavior = 'cancel': current behavior (preflight error)queue_behavior = 'queue': create the record withqueuedstatus, return a message like "Backup queued — will start when the current backup completes"Applies to all backup triggers
mokosuitebackup:run)Dashboard/UI
badge bg-warningwith "queued")Notes
Branch created:
feature/198-feat-backup-queue-system-for-concurrent-