Skip to content

openclaw backup create --verify exits 13, leaves corrupt .tmp archive; verifier also rejects older backup hardlinks #89257

@mgonto

Description

@mgonto
  • Version: OpenClaw 2026.5.28 (e932160)
  • Command: openclaw backup create --output /home/gonto/backups/openclaw --verify
  • Result: process exited 13 after ~2 min, leaving a partial .tmp archive.
  • Only stderr:
    Warning: Detected unsettled top-level await at .../openclaw.mjs:653
  • The leftover temp archive is corrupt: tar -tzf ends with:
    • gzip: stdin: unexpected end of file
    • tar: Unexpected EOF in archive
  • Disk space was fine: /dev/sda1 had ~105GB free.
  • Workaround: created a compatible archive manually and verified it successfully with openclaw backup verify (196,281 entries scanned).
  • Additional verifier regression: a previous backup from 2026-05-04 now fails current openclaw backup verify with Archive hardlink target is outside the declared archive root....

Expected behavior:

  • backup create --verify should either complete and verify a usable archive, or fail cleanly without leaving a corrupt temp archive.
  • backup verify should keep verifying previously valid OpenClaw backup archives, including archives with internal hardlinks, as long as hardlink targets remain inside the archive root.

Notes:

  • The manual workaround suggests the source data and available disk were not the blockers.
  • The temp archive left by the failing command appears truncated rather than merely failing verification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:data-lossCan lose, corrupt, or silently drop user/session/config data.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions