snapshots

Section profile.snapshots

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

The “snapshots” command lists all snapshots stored in 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 passed to the restic command line:
NameTypeDefaultNotes
compacttrue / falsefalseuse compact output format
group-bystringgroup snapshots by host, paths and/or tags, separated by comma. restic >= 0.10.0
hosttrue / false OR one or more hostnamesonly consider snapshots for this host. Boolean true is replaced with the hostname of the system. Examples: true, false, "host"
lasttrue / falsefalseonly show the last snapshot for each host and path. restic < 0.13.0
latestinteger0only show the last n snapshots for each host and path. restic >= 0.13.0
pathtrue / false OR one or more stringsonly consider snapshots including this (absolute) path. Boolean true is replaced with the paths from section “backup”. Examples: true, false, "path"
tagtrue / false OR one or more stringsonly consider snapshots including tag[,tag,…]. Boolean true is replaced with the tags from section “backup”. Examples: true, false, "tag"

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