joplin-plugin-backup icon indicating copy to clipboard operation
joplin-plugin-backup copied to clipboard

Backup plugin settings

Open JackGruber opened this issue 1 year ago • 3 comments

Backup plugin settings

https://discourse.joplinapp.org/t/export-import-settings/14668

JackGruber avatar Jan 03 '24 17:01 JackGruber

Currently only settings of plugins are saved which have been specified for the setting using storage: SettingStorage.File. As these are stored in the json and not in the DB. For all others there is currently no API from Joplin.

JackGruber avatar Jan 03 '24 17:01 JackGruber

The following might work:

joplin.settings.globalValue(`plugin-${pluginId}.${settingName}`)

It would require hardcoding plugin IDs and setting names though.

Ok, but unfortunately this is not a real solution. Because you need to know all the settings. Furthermore, there is no easy way to import back into Joplin.

JackGruber avatar Feb 15 '24 09:02 JackGruber