# Rolling back to previous version of entire folder?

**URL:** https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989
**Category:** Support
**Created:** [May 12, 2020, 1:26pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989 "2020-05-12T13:26:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![HalfNote5](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/h/258eb7/32.png) [@HalfNote5](https://forum.syncthing.net/u/HalfNote5)
#### Post date: [May 12, 2020, 1:26pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989/1 "2020-05-12T13:26:02Z")

</div>

Hi there!

One of our users got a malware infection that encrypted all their files. Which Syncthing did exactly what it was supposed to and… synced.

I’ve got the .stversions files, but I’d like to not have to manually rename each and every one of them. Is there a feature to just… roll all of them back to yesterday?

Thanks!

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [May 12, 2020, 1:47pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989/2 "2020-05-12T13:47:40Z")

</div>

Not built into Syncthing, no. This might be a case for rolling out some bash or powershell to do the copy and rename (if necessary).

---

<div class="post-metadata">

### Author: ![HalfNote5](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/h/258eb7/32.png) [@HalfNote5](https://forum.syncthing.net/u/HalfNote5)
#### Post date: [May 12, 2020, 2:09pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989/3 "2020-05-12T14:09:31Z")

</div>

That’s what I thought. I’m prolly gonna crack open Rename Master, which’ll prolly do the trick.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [May 12, 2020, 4:59pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989/4 "2020-05-12T16:59:48Z")

</div>

There is the restore ui, which allows to narrow down versions within a timeframe, but you’ll still have select each files date manually most likely. You could probably craft up some jquery to do that for you.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [June 11, 2020, 4:59pm UTC](https://forum.syncthing.net/t/rolling-back-to-previous-version-of-entire-folder/14989/5 "2020-06-11T16:59:51Z")

</div>

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