JackGruber / joplin-plugin-backup

A plugin to extend Joplin with a manual and automatic backup function.
MIT License
209 stars 19 forks source link

Backup plugin settings #65

Open JackGruber opened 8 months ago

JackGruber commented 8 months ago

Backup plugin settings

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

JackGruber commented 8 months ago

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.

personalizedrefrigerator commented 6 months ago

The following might work:

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

It would require hardcoding plugin IDs and setting names though.

JackGruber commented 6 months ago

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.