Hello.
is it possible to restore all the versions of the file stored in the repo without manually picking snapshots?
For example all the versions of the file c:\something\myfile.doc, so that I had directory fulled with myfilefile.doc_v1, myfilefile.doc_v2 etc?
I need to find the right version of the file myfile.doc
This is not possible with restic alone, but it could be accomplished using a script. Many restic commands take a --json
flag which means you can automate processes like this externally to restic using any scripting environment that knows how to parse JSON.
I need a similar tool for something unrelated, so I’ve started working on tooling (rapi rescue restore-all-versions
) that may work for you.
I don’t test on MS Windows, so it may suffer from MS Windows specific issues.