When do notes get purged from database?

When do deleted notes get purged from database? I have read the method for restoring a deleted note using the restoreNoteRevision command. But seeing how this is available to note history, I assume when it is past how long you keep your note history for, it will purge the items from the database?

Or is everything retained and the database only grows and i should export everything, delete database and reimport on a semi regular basis?

How about attachments? When do they get zapped locally?

How about on a sync target? This I assume depends on the sync target in question and if it retains any of the files once deleted.


No one knows?

My best shot: past the note history date, the note is most likely gone. The attachment is still in the DB and can be found through the tools menu.

Attachments aren't deleted unless I delete them from the tools menu? How do I tell which is linked to a now deleted note? I have a bunch that only say "untitled" with the size and ID. I assume there is a way to easily look up which ones could be purged?

I think attachments are auto-deleted.


I have frequently found attachments from "old notes" in the list of attachments. It is possible that this has changed with improvements of Joplin over time. I cannot tell.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.