find

Section profile.find

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

The “find” command searches for files or directories in snapshots stored in the repo. It can also be used to search for restic blobs or trees for troubleshooting.

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
blobtrue / falsefalsepattern is a blob-ID
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"
human-readabletrue / falsefalseprint sizes in human readable format. restic >= 0.16.0
ignore-casetrue / falsefalseignore case for pattern
longtrue / falsefalseuse a long listing format showing size and mode
neweststring""newest modification date/time
oldeststring""oldest modification date/time
packtrue / falsefalsepattern is a pack-ID
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"
show-pack-idtrue / falsefalsedisplay the pack-ID the blobs belong to (with –blob or –tree)
snapshotone or more stringssnapshot id to search in
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"
treetrue / falsefalsepattern is a tree-ID

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