borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Allow administrators to delete individual repository archives

Open borg-codex-bot opened this issue 2 months ago • 0 comments

Problem

Administrators cannot delete an individual unwanted archive from the Repositories archive list, for example after a backup used the wrong repository.

Scope

  • Add a compact trash icon beside each archive for signed-in administrators, with an accessible label and tooltip.
  • Require an explicit confirmation showing the repository, archive name and creation time.
  • Enforce the administrator session requirement on the server, including direct API requests.
  • Delete exactly the selected archive after checking its identity; reject stale selections and busy repositories using the existing locking infrastructure.
  • Refresh repository and restore archive views after success and record the actor, archive and outcome in the existing repository audit log.
  • Preserve job configuration and historical run logs/status records.
  • Explain that disk space is reclaimed by the existing Compact maintenance action.

No bulk deletion, retention changes, automatic compaction or migration is included.

Validation

Cover authorization, exact archive selection, identity mismatch, repository contention, Borg failures, view/cache refresh and successful deletion in a temporary Borg fixture. Verify the compact action layout and confirmation in German and English. Publish a test-channel candidate for maintainer testing before any stable release.

User-visible feature; release notes required.

borg-codex-bot avatar Sep 13 '26 08:09 borg-codex-bot