# File Versioning

**URL:** https://forum.syncthing.net/t/file-versioning/17588
**Category:** Support
**Created:** [November 9, 2021, 11:04pm UTC](https://forum.syncthing.net/t/file-versioning/17588 "2021-11-09T23:04:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![The\_2PieceCombo](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/71c47a/32.png) [@The\_2PieceCombo](https://forum.syncthing.net/u/The_2PieceCombo)
#### Post date: [November 9, 2021, 11:04pm UTC](https://forum.syncthing.net/t/file-versioning/17588/1 "2021-11-09T23:04:06Z")

</div>

I understand the concept of file versioning, but had a question about it’s functionality in a specific use case. I have two instances of syncthing. The first in ‘send only’ mode and trash-can file versioning. The second is receive only with simply file versioning, keeping 3 copies.

I see the versions working on the receiving device, but the send only device doesnt appear to have a version folder. Does versioning not apply to a send device? Or is the folder located somewhere that I’m not thinking to look?

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [November 9, 2021, 11:19pm UTC](https://forum.syncthing.net/t/file-versioning/17588/2 "2021-11-09T23:19:59Z")

</div>

Versioning does not apply to changes on the local device itself, but only for changes _received from other devices_. Thus send-only folders never version anything by definition.

---

<div class="post-metadata">

### Author: ![The\_2PieceCombo](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/71c47a/32.png) [@The\_2PieceCombo](https://forum.syncthing.net/u/The_2PieceCombo)
#### Post date: [November 11, 2021, 5:49pm UTC](https://forum.syncthing.net/t/file-versioning/17588/3 "2021-11-11T17:49:19Z")

</div>

wonderful. This was my assumption but I wanted to be sure. If feel like a small change could be made to the UI where the file versioning is grayed out if the device is in send only mode, just to make it clear that no file versioning will take place in that mode.

cheers!

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [November 12, 2021, 7:14pm UTC](https://forum.syncthing.net/t/file-versioning/17588/4 "2021-11-12T19:14:51Z")

</div>

What do @calmh, @imsodin and @AudriusButkevicius think, would this be a worthwhile effort? (Disable the versions button when the folder is configured send-only).

If the folder previously had a different type, there might already be files in `.stversions` so it’s not absolutely useless for send-only folders.

---

<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: [November 12, 2021, 7:41pm UTC](https://forum.syncthing.net/t/file-versioning/17588/5 "2021-11-12T19:41:24Z")

</div>

> [@acolomb](#):
>
> If the folder previously had a different type, there might already be files in `.stversions` so it’s not absolutely useless for send-only folders.

Pretty much my thinking.

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [November 15, 2021, 11:52am UTC](https://forum.syncthing.net/t/file-versioning/17588/6 "2021-11-15T11:52:32Z")

</div>

> [@acolomb](#):
>
> If the folder previously had a different type, there might already be files in `.stversions` so it’s not absolutely useless for send-only folders.

I’d say ideally the “Versions” button should only be available when there are actual files inside the `.stversions` folder (or the custom path if set). This could be regardless of whether versioning is enabled or not at the current time. If this was the case, it would also be safe to disable the “Versioning” tab for Send Only folders.

---

<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: [November 15, 2021, 7:34pm UTC](https://forum.syncthing.net/t/file-versioning/17588/7 "2021-11-15T19:34:39Z")

</div>

There will be panic when someone deletes a file locally and then panics that they can’t find the button that shouldn’t be there.

I think keeping it as it is is the mose sensible way.

---

<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: [December 15, 2021, 7:35pm UTC](https://forum.syncthing.net/t/file-versioning/17588/8 "2021-12-15T19:35:04Z")

</div>

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