repair

Section profile.repair

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

The “repair” command repairs damaged repositories. It provides subcommands to rebuild the index, salvage damaged pack files, and repair broken snapshots.

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
send-afterone or more nested SendMonitoringSectionSend HTTP request(s) after a successful restic command
send-after-failone or more nested SendMonitoringSectionSend HTTP request(s) after failed restic or shell commands
send-beforeone or more nested SendMonitoringSectionSend HTTP request(s) before a restic command
send-finallyone or more nested SendMonitoringSectionSend HTTP request(s) always, after all other commands
Tip

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