Hey all,
I self-host Joplin server and backup the sqlite.db nightly. I've noticed that the DB size seems to keep increasing way out of step with the size of my notes. If I log into the Joplin Server admin console, I can see that the total size for my 2 users is about 250MB combined, but sqlite.db is 778MB. It seems to grow by a couple of MB a day.
Initially I thought I might just be creating more data than I realized, so I set up a nightly jex backup from Joplin Desktop. Over the last month, the jex files have gone from 94.0MB to 94.1MB.
Does anyone know what the cause could be? Is there some sort of scheduled maintenance I should be running on Joplin Server or sqlite?
I am just guessing here, but could it be previous versions of notes?
joplin has a note history feature and maybe that eats up a lot of spaces.
also check your conflicts "folder" to see if there's something there eating space
Thanks for the ideas. It's not conflicts (I resolve/delete those when they crop up). I could be previous versions (I edit the same few notes many times) but I'd have expected that to come up as part of the "total size" on the user admin page.
I guess I could dig through sqlite and see exactly where the data is.