borg-backup-ui
borg-backup-ui copied to clipboard
Support Docker exclusion mode in the Job Wizard
Summary
Add an optional Docker runtime selection mode that stops all Docker containers except the containers selected by the user.
Problem
For hosts with many containers, selecting nearly every container just to keep one or two containers running is cumbersome and error-prone.
Desired behavior
- Keep the existing modes:
- stop all running containers
- stop only selected containers
- Add a third mode:
- stop all running containers except selected containers
- In exclusion mode, the selected containers are the containers that should remain running.
- The Job Wizard, preview, saved job metadata, and backup runner must all use the same semantics.
- Existing jobs must keep their current behavior.
User impact
Users with many Docker containers can configure Appdata backups more safely and quickly by selecting only the containers that should not be stopped.
Scope
- Job Wizard Docker step
- wizard API validation and preview
- backup runner Docker stop handling
- tests and release note