Skip to content

Unhandled Restic Exit Code for 'No Space Left on Device' Condition #642

Open
@ziotibia81

Description

@ziotibia81

Describe the bug
Related to Issue #641

Restic exited after several attempts due to a 'no space left on device' condition. However, Backrest failed to detect this termination, and the restore operation remained in an 'in progress' status until a Backrest restart.

To Reproduce
Steps to reproduce the behavior:

  1. Select a Snapshot
  2. Browse into a directory of this shapshot
  3. Select "Restore to path"
  4. Insert a path that has insufficient space to contain the largest file in the snapshot. (e.g. for a 1GB file, select a path with 500MB of free space.)

Expected behavior
Backrest must detect that Restic has exited and report a failure instead of remaining in an 'in progress' status.

Platform Info

  • Ubuntu 24.04.1 LTS x64
  • Backrest 1.7.0
  • Restic 0.17.3
  • Restore path is in BTRFS filesystem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions