# Revert local change

**URL:** https://forum.syncthing.net/t/revert-local-change/23965
**Category:** Support
**Created:** [March 10, 2025, 12:46pm UTC](https://forum.syncthing.net/t/revert-local-change/23965 "2025-03-10T12:46:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kasper46](https://forum.syncthing.net/user_avatar/forum.syncthing.net/kasper46/32/18304_2.png) [@kasper46](https://forum.syncthing.net/u/kasper46)
#### Post date: [March 10, 2025, 12:46pm UTC](https://forum.syncthing.net/t/revert-local-change/23965/1 "2025-03-10T12:46:36Z")

</div>

I have recently begun using Syncthing and am very please with the application, I have a however a question that I haven’t been able to find any answer to. I am trying to sync from a central fileshare to several remote offices. It is a one way sync and the remote offices fileshare should always be identical to the central fileshare.

When I do a change in the fileshare on the remote offices, fx. delete a file or add a folder, I have to click “Revert Local Changes” to get the fileshare back to 100% in sync with the central fileshare.

Is there a way to automate “Revert Local Changes” or do something else to handle it in a smart way, instead of logging in to each remote server?

---

<div class="post-metadata">

### Author: ![chaos](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@chaos](https://forum.syncthing.net/u/chaos)
#### Post date: [March 10, 2025, 3:20pm UTC](https://forum.syncthing.net/t/revert-local-change/23965/2 "2025-03-10T15:20:56Z")

</div>

You could use the API ([POST /rest/db/revert — Syncthing documentation](https://docs.syncthing.net/rest/db-revert-post.html)) to this remotely.

---

<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: [March 10, 2025, 8:32pm UTC](https://forum.syncthing.net/t/revert-local-change/23965/3 "2025-03-10T20:32:49Z")

</div>

Ideally, use permissions on the fileshares to prevent unauthorized modifications. This is better than relying on Syncthing to automatically undo them.

---

<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: [April 9, 2025, 8:33pm UTC](https://forum.syncthing.net/t/revert-local-change/23965/4 "2025-04-09T20:33:42Z")

</div>

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