Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup plugin settings #65

Open
JackGruber opened this issue Jan 3, 2024 · 3 comments
Open

Backup plugin settings #65

JackGruber opened this issue Jan 3, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request upstream

Comments

@JackGruber
Copy link
Owner

Backup plugin settings

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

@JackGruber JackGruber added enhancement New feature or request upstream labels Jan 3, 2024
@JackGruber
Copy link
Owner Author

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
Copy link
Contributor

The following might work:

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

It would require hardcoding plugin IDs and setting names though.

@JackGruber
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

No branches or pull requests

2 participants