I do not have the knowledge to figure out a way to convert a JSON export to something Joplin can import. Therefore I am trying to think of other ways.

When you sync and that sync deletes files, does your online storage place those files in a “Recycle Bin” like Nextcloud does?

I am wondering if it would be possible to:

  • delete the ~/.config/joplin-deskop folder on your deskop computer, which reverts Joplin to being like a new install,
  • restore everything from the online storage “Recycle Bin” back into its original positions on the online storage (which hopefully it does automatically) and,
  • then reconnect the desktop Joplin to your sync target.

I am just trying to think of a way of getting notes back for long enough to make a JEX Export. Then the online storage / Joplin can be tided up again and the JEX Export imported.

If you do try this make sure that Joplin is not active on your mobile in case it detects any restored files as old and deleted and deletes them again. The mobile device can be sorted out afterwards by deleting the app’s cache / storage before running it again.

You may want to wait to see if any others see any flaws in the above before you start or whether they have any better suggestions…