root@:~# restic -r /tmp/test6 init
enter password for new repository:
enter password again:
created restic repository ce7486fa70 at /tmp/test6
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.
root@:~# restic -r /tmp/test6 snapshots
enter password for repository:
repository ce7486fa opened successfully, password is correct
created new cache in /root/.cache/restic
But i have got this output on my server. Test for listing snapshots.
restic -r webseiten snapshots
enter password for repository:
repository 30b3e317 opened successfully, password is correct
created new cache in /root/.cache/restic
ID Time Host Tags Paths
---------------------------------------
---------------------------------------
0 snapshots
root@:/home/# restic version
restic 0.9.4 compiled with go1.11.6 on linux/amd64
restic list snapshots is a rather low-level command that just outputs the full ids of the existing snapshots. If you want a user friendly output then restic snapshots is the right place. The output of the snapshots command has changed with the introduction of the group-by function in restic 0.9.5.