Is it possible to restore using tags?

Hello,

Let’s say on my repo I have the git,log,code tags, is it possible to restore using the tags directly without the need of copy/pasting the snapshot ID ?

thank you in advance.

Try restic restore -tag git latest to restore from the latest snapshot that has the tag git.

3 Likes

So yes, I made it easier by making a personal script that kind of makes it automatically for each restore !