Skip to content

Preserve the last good backup when a CLI export is interrupted #978

Backlog

Description

@Sev7eNup

Audit ID: M68 · Severity: Medium · Type: AFK

Audited revision: b56d66642444.

Problem and evidence

The CLI truncates the destination before writing an export over an existing backup. Disk exhaustion, cancellation or a crash can destroy the previous usable backup before the new one is complete.

Acceptance criteria

  • Write the new export to a temporary file in the destination directory and replace the target only on success.
  • Cancellation or a write failure leaves the previous backup intact.

Blocked by

None. Work can start independently.

Activity

  1. added
    bug
    on Nov 24, 2026
  2. changed the title [-][Backend-Audit M68] Ein abgebrochener CLI-Export kann die letzte intakte Sicherung zerstören[/-] [+]Preserve the last good backup when a CLI export is interrupted[/+] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions