Before syncing with Joplin server for the first time, should I copy my notes to the server first?

What is the preferred way to start syncing with the Joplin server?

The scenario is that I have a Joplin app with > 1000 notes and an empty server. Should I copy the note database somewhere to the server first so that Joplin does not delete all my notes? If so, could you point me to instructions how to do it?

Please note that the FAQ instructions is for WebDAV and the case that you move from existing server to a new one. In my case there is no 'old' server.

Also, what if I have another Joplin client with different set of notes, will they be merged to the server database in first sync or will they be all deleted?

Thanks,
Kaj

Ubuntu 20.04 LTS


$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
florider89/joplin-server latest 19ef4bbef6b5 6 weeks ago 1.85GB


Joplin 1.7.11 (prod, linux)

Client ID: 40683fe1a78849e6b5c0a92eaa12db43
Sync Version: 2
Profile Version: 34
Keychain Supported: No

Revision: f560563 (master)

Hi! If you have just set up the server and everything is basically fresh, then Joplin will synchronise all the notes (upload them to the server). I would still make a backup of your data, because the server is still in beta and things can go wrong! If you then sync with a second client, I don't exactly know what that looks like...but I think that Joplin also wants to upload everything there first that isn't there yet. Here, however, a backup is even more important, so that if it doesn't work out, you can import your data again later and sync it that way. Let me know if it works!

Best regards
MrKanister :smiley:

I got finally everything set up with the server and client1 and tried with another client (client2 in Android). It's quite surprising that nothing gets synced to client2 but if I create a new note in client2, it gets synced to client1. Any hints how to get all notes from client1 (or the server) to client2?

Hmm, over the night, some (not all) notes have been transferred but notebooks are not visible , i.e, they are only seen in 'All notes'. Restarting sync manually returns 'Completed' immediately.

Any ideas?

Kaj

This is really weird behavior, which I haven't experienced myself, I think it's not client2, but client1. I would export a complete backup of client1, delete all notes (be careful! Make sure the backup is not corrupted...), syncronize. Then theoretically (?) there should be no more entries on the server. If you then import the backup again, it should resync completely.

Have a nice day!
Mr Kanister

1 Like

It seems that the main problem was an aggressive battery management of the cellphone that stopped syncing before completing. Now I have disabled it and it seems to be syncing everything...let's see...

3 Likes

Yes, that was it, now everything is synced. However, there is still a strange behaviour in the App: even if the sync is completed, it still fetches resources continuously (the numbers are changing fast):

joplin

There's an Android app called ScreenOn that keeps the phone active so that the large initial sync can complete.

The "Fetching resources" is not really about synchronising, but rather about downloading your resources (images, pdf's, etc.) from the server. You can change the behaviour of this in the settings, where it says "Attachment download behaviour". I suppose, you have checked "Always" right now, in which case it downloads all the attachments at the first sync. But I think it should be completed now after 7 hours :stuck_out_tongue:

1 Like

Ahaa... Well, it was still fetching resources frantically :slight_smile: but after changing Always -> Auto it stopped. Many thanks for the tip!! Now everything looks very close to perfect!

Cheers,
Kaj

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