Skip to content

backup consistency: add a --repair flag for decomposedfs #4237

Backlog

Description

@maki5

Is your feature request related to a problem? Please describe.

opencloud backup consistency only reports problems. Fixing them means manual
work on the storage. Reported in #3688.

Describe the solution you'd like

A --repair flag that fixes only what can be fixed safely, for example:

  • recreate missing symlinks where the target is known,
  • remove dangling blob references / .REV.* metadata whose blob is gone.

Proposed safeguards (to settle in this issue):

  • A dry run is the default or available (--dry-run), listing what would change.
  • Every change is listed in the output.
  • Inconsistencies that could lose data are never repaired automatically.

Additional context

Split out of #3688.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions