repair-packs

Section profile.repair-packs

This section configures restic command repair-packs available since 0.16.1 . Information on command and flags is copied from the restic manual pages.

WARNING: The CLI for this command is experimental and will likely change in the future!

The “repair packs” command extracts intact blobs from the specified pack files, rebuilds the index to remove the damaged pack files and removes the pack files from the repository.

Flags used by resticprofile only:
NameTypeDefaultNotes
run-afterone or more stringsRun shell command(s) after a successful restic command
run-after-failone or more stringsRun shell command(s) after failed restic or shell commands
run-beforeone or more stringsRun shell command(s) before a restic command
run-finallyone or more stringsRun shell command(s) always, after all other commands

Flags declared for the restic command line in section profile can be overridden in this section.