# Sync switch from Nextcloud to new Nextcloud server

**URL:** <https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421>\
**Category:** Support\
**Created:** [18 May 2021 07:44 UTC](https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421 "2021-05-18T07:44:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![235462849350](https://avatars.discourse-cdn.com/v4/letter/2/bc8723/32.png) [@235462849350](https://discourse.joplinapp.org/u/235462849350)\
**Post date:** [18 May 2021 07:44 UTC](https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421/1 "2021-05-18T07:44:21Z")

</div>

Hi,

I`m using Joplin portable to sync to Nextcloud webdav as a sync target.

I will switch my Nextcloud installation to a new server the next weeks and must switch the joplin sync target for that reason as well.

I had this in mind. Will this work without loosing data and the need of resync (\> 2GB of data with several clients).

1. Sync all clients
2. Stop possibility of all clients to sync
3. Backup of all synced file on Nextcloud =\> entire Joplin folder
4. Copy this entire Joplin folder from old Nextcloud server to new Nextcloud server.
5. Change webdav address on all Joplin client to the new NC Server
6. Sync all clients

If I got that right, with this there should be no reason for any resyncs or data loss and also file encryption should be fine.

@laurent:  
Is this true, or did I miss a step?

Thanks

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [18 May 2021 10:26 UTC](https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421/2 "2021-05-18T10:26:38Z")

</div>

Yes sounds OK, but make also a JEX backup.

> [@Nextcloud migration](https://discourse.joplinapp.org/t/nextcloud-migration/14144):
>
> I had naively assumed that there won't be much difference between one nextcloud (provider) and another. But when I was recently forced to move to a different provider - surprise, surprise - from this moment on sync has been much faster, and this despite the new 'cloud' being free. Since I saw questions about this a few times, here is how migration worked painlessly. made a JEX backup check the 'fail safe' flag is set downloaded the complete Joplin folder (nextcloud turns it into a ZIP contain…

---

<div class="post-metadata">

**Author:** ![235462849350](https://avatars.discourse-cdn.com/v4/letter/2/bc8723/32.png) [@235462849350](https://discourse.joplinapp.org/u/235462849350)\
**Post date:** [13 June 2021 21:12 UTC](https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421/3 "2021-06-13T21:12:51Z")

</div>

I did not find the time before to do this.  
Would this also be possible, because it safes a lot of time:

scp -r -p user@host:/path/to/old/Joplin /var/nc\_data/path/to/new/Joplin

I tested it and the timestamps are also copied.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [13 July 2021 21:12 UTC](https://discourse.joplinapp.org/t/sync-switch-from-nextcloud-to-new-nextcloud-server/17421/4 "2021-07-13T21:12:55Z")

</div>

Closed on 13 July 2021 21:12 UTC

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