Do Joplin settings including custom styles get backed up in the JEX (and RAW) export file?
I hope we can implement an export settings option in the future.
I'd like to import and export settings. +1 if this gets reopened.
Settings are, if I am not mistaken, stored in plain text* in C:\Users<user name>\AppData\Roaming\Joplin\Preferences on Windows (I don't know for other systems), so that's the file to backup.
* Although a bit odd: Json format where some complex data is… text holding Json data instead of plain Json structures!
Only some settings. The other settings stored in the DB "settings" table.
I would also like to see this. I recently had to install Joplin on a new computer, and it was unpleasant having to customize everything again.
It would be convenient if there was a settings.json that it was stored in (it doesn't need to be in the database) then you wouldn't even need an export options, people can just back it up manually.
Of course, it would be a perk if I could choose where to save the settings file on the file system too, that way I could save that on dropbox or with whatever sync tool. I do this already with multiple tools I use.
I notice the keymappings are already stored in a json file there, so it feels like that could be extended to include it all. Would have saved me at least some hassle if I had noticed that before
Could anyone tell where the settings are stored on osx ? just one file, or several ? Thanks
~/.config/joplin-desktop/database.sqlite they are stored in the database for the most part. Key mappings are in the same folder in
keymap-desktop.json and the user styling in
In other words - just to be sure - if one keeps repeated JEX exports as backups, and copies the files mentioned above, one has everything to re-install Joplin anytime and hassle-free ?
Having user settings in an external json has been somewhat planned for a while, but so far hasn’t been done. Pull requests are welcome if anyone wants to give it a try.
Are you talking about saving them to a JSON instead of the database? Or support import/export to JSON?
Yes saving to json instead of db. In the settings table, there’s both user settings and application state that is saved, so the app state would stay there and the user settings would be moved to json.
Are all settings there? I looked specifically for sync target, and dir to sync with. I also don't see the theme selection there.
All Joplin core settings are.
The ones you are looking for are:
"sync.target": 2, "sync.2.path": "/path/to/target", "theme": 2,
However, if your sync target is 6 or 5 or whatever, the key for path will be