# Federation and sync files between two servers

**URL:** <https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307>\
**Category:** ℹ️ Support\
**Tags:** syncthing, federated\
**Created:** [October 2, 2023, 5:46am UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307 "2023-10-02T05:46:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamiron](https://help.nextcloud.com/letter_avatar/jamiron/32/6_22734026db12803ebb3e059622ac3534.png) [@jamiron](https://help.nextcloud.com/u/jamiron)\
**Post date:** [October 2, 2023, 5:46am UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307/1 "2023-10-02T05:46:01Z")

</div>

I have two servers A and B, I setup federation between then and am syncing folders from server A to B, those folders appear in my nextcloud client, but are not synced inside server B, can it be done?

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [October 2, 2023, 8:47am UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307/2 "2023-10-02T08:47:05Z")

</div>

Within Nextcloud, this has not been implemented. Perhaps a first step would be to set up some caching that it speeds up file access. If you want really to sync stuff, handling the potential conflicts an become tricky.

If you want to sync over different sites, I’d also take a look at syncthing or git-annex. You can use a local folder which is synced with one of these and use them again by Nextcloud as “extrnal storage” if you really need it to be in Nextcloud.

---

<div class="post-metadata">

**Author:** ![jamiron](https://help.nextcloud.com/letter_avatar/jamiron/32/6_22734026db12803ebb3e059622ac3534.png) [@jamiron](https://help.nextcloud.com/u/jamiron)\
**Post date:** [October 2, 2023, 2:41pm UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307/3 "2023-10-02T14:41:56Z")

</div>

Is it possible to integrate syncthing on a server with nextcloud on another server?

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/6_22734026db12803ebb3e059622ac3534.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 2, 2023, 8:28pm UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307/4 "2023-10-02T20:28:23Z")

</div>

Yes, try googling setup instructions for details on getting that going.

Note, doing this means those directories will no longer be synced by Nextcloid. They will only be accessible through nextcloud as-is. For this reason it is not often recommended.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 1:07pm UTC](https://help.nextcloud.com/t/federation-and-sync-files-between-two-servers/171307/5 "2024-12-14T13:07:29Z")

</div>


