restore deletion for a specific date from stversions

I accidentally deleted a big folder on computer A.

Thanks to syncthing, I have all the subfolders and files inside the .stversions of computer B.

The issue now is to restore all the files and tree structure from the .stversions folder. I have plenty of older files in the .stversions which I do not want to restore. I would like to only restore the file renamed with the timestamp “0240718-222835”.

Does someone already have written a bash command/script (I am using debian) or something else which could help restoring all files and structure for a specific timestamp?

Have you tried using the mechanism built into the Web GUI to restore the files? With it, you should be able to restore only the latest versions of the files (or you can also pick and choose specific versions to restore).

Thank you!

I did not know syncthing included this feature!

Works like a charm.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.