borg-backup-ui
borg-backup-ui copied to clipboard
Distinguish missing database dump storage from empty local backup history
Problem
Settings > Database backups displays "No local runs found" alongside generic path/symlink errors for saved profiles whose dump directories do not exist yet. Saving a profile does not create its dump directory. The empty result currently conflates a successfully scanned empty directory with an unavailable location, and the error labels show only opaque profile IDs.
Expected behavior
- Distinguish a missing dump directory from permission, symlink, and mount failures.
- Keep listing read-only; do not create directories or change permissions while opening Settings.
- Show profile names and configured dump paths with storage diagnostics.
- Show the empty-state message only when all configured locations were successfully checked.
- Explain when the current implementation creates directories and that saving a profile alone does not create them.
- Preserve existing storage safety checks and retained dumps. Changing the storage permission model is outside this focused fix.
User impact and release notes
User-visible bug fix; add a pending release-note fragment and bilingual documentation. Cover empty, missing, inaccessible and partially available locations in backend and UI regression tests.