migrate

Section profile.migrate

This section configures restic command migrate . Information on command and flags is copied from the restic manual pages.

The “migrate” command checks which migrations can be applied for a repository and prints a list with available migration names. If one or more migration names are specified, these migrations are applied.

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 passed to the restic command line:
NameTypeDefaultNotes
forcetrue / falsefalseapply a migration a second time
Tip

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