Forrest logo
back to the restic tool

restic:tldr:f0235

restic: Show backup snapshots currently stored in the repository.
$ restic --repo ${path-to-repository} snapshots
try on your machine

The command restic --repo ${path-to-repository} snapshots is used with the restic backup software.

Here's the breakdown of each part of the command:

  • restic is the name of the restic backup software that is being executed.
  • --repo is a flag used to specify the repository where the backups are stored.
  • ${path-to-repository} is a placeholder that should be replaced with the actual path to the repository on your system. The repository is the location where restic stores backups.
  • snapshots is a command for restic to list all the snapshots (i.e., backups) that have been created in the specified repository.

By using this command, restic will access the specified repository and display a list of all the snapshots that have been created and stored in that repository. This allows you to see the different backups that are available for restoration or other operations.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the restic tool