commands

restic — Inspect backup snapshots

List snapshots from a prepared repository; use interactive credentials, never embed them in commands. Repository checks and restore drills are separate. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
restic -r REPO snapshots

Parameters & Attributes

NameTypeDescription
-roptionRepository location
REPOoperandPrivate repository
snapshotsoperandList snapshots

Return Value

exit status and output

The snapshots operation lists snapshot IDs and metadata after accessing the repository. Inspect any repository/authentication errors; successful listing does not verify every stored data block or restoration.

Working Example

Example Snippetlinux
restic -r ./restic-repo snapshots
Linux Reference