Operating system
macOS
Joplin version
3.6.8
Sync target
WebDAV
What issue do you have?
I’m setting up WebDAV sync for the first time and noticed the warning about potential data loss.
In the FAQ, it says that the existing data should be copied to the WebDAV location beforehand. Could someone clarify exactly which data needs to be copied?
I’m using macOS and cannot find a “Joplin” folder with the database and attachments in my user directory. Is this data located in the Application Support folder within the macOS Library?
Also, why doesn’t Joplin automatically handle this initial upload when the target WebDAV folder is empty?
Thanks for any clarification
What / where is the warning about data loss? Do you mean a fail safe error?
I’m setting up WebDAV sync for the first time
What were you using before?
I am a new (and already very happy!!!) user of Joplin. Up to now I have only used a local Joplin database. So, this is the first time to set up a (webdav) synchronization. Therefore I want to be sure to do everything correctly. For safety I will do an export to a local jex file before activating webdav, as recommended.
The warning can be found in the ios joplin app under settings/webdav, see screenshot
And in the faq I am advised to copy the joplin data from the old (local) location to the new webdav location, see here: FAQ | Joplin .
But where do I find the (local) joplin database? I haven't found this information in the sync instructions, nor in the FAQ.
Wouldn't it make sense to have each notebook in the macos user folder in a Joplin sub-folder as a standard setting? This would make it easier for new users to identify the location of the database / notebook, to backup it etc. (and eventually to move it to the webdav). Or am I wrong?
And in the faq I am advised to copy the joplin data from the old (local) location to the new webdav location
That's only if you are switching from another sync target, you would copy the server data from one server to another server, not the local data. As this is your first time enabling sync in Joplin, there is nothing needed to be copied.
As a precaution, you can create a full jex backup first. Then you just need to set the WebDAV details in the sync config and click the Synchronize button on the main screen in Joplin. It should then upload your local data to the server, providing the WebDAV target is set up correctly and points to an empty directory on the server.
wow - that's perfect. So I will try that. that wasn't absolutely clear from the faq/app instructions for me.
where are the notebooks saved locally?
In a sqlite database stored in ~/.config/joplin-desktop