Locally, notes are stored in the ~/.config/joplin-desktop/database.sqlite file. The resources / attachments are stored in the ~/.config/joplin-desktop/resources folder.

In my opinion this is a disadvantage within Joplin, since you have the whole content of this notebook on the (perhaps small) SSD with the OS.

1 Like