Sync: Allow to exclude recovery history for certain file type or certain folder

Use case or problem

I was editing my PDF files and then suddenly I cannot sync anymore. Sync log kept logging “locked database …”. After a while, I realized that I have exceeded my sync size (50 GB), from 18GB to now 53GB.

Even though Obsidian supports the Purge function but right now, it fails to even show the button because it cannot retrieve vault size. It has been stuck at this message for half an hour.

And I cannot sync anything because of this.

Proposed solution

I still want to sync my attachment but I don’t need to have any of its version history.

Please add a settings to either exclude file types or exclude folders from creating version history.

Current workaround (optional)

None

1 Like

This is a very similar idea to: Option to disable version history for large markdown files

All of us who have large files in our vault, and who make frequent edits to those files (manually or via a plugin) are having the same problem. A lot of solutions have been suggested, but only our mostly-not-functional Purge button has been implemented. If your Purge button isn’t appearing at all, that might be a time for a bug report!

Handwritten note plugins such as Excalidraw typically produce large markdown (1-10MB) files. For Sync users, Obsidian keeps a version history of those files, filling up the remote vault storage almost instantly, making the Sync feature unusable for handwritten note-takers. Adding an option to disable version history for large markdown files would solve this problem and save space on the server side.

4 Likes

I’m facing a similar issue with another plugin that update its data quickly during typing…. And its data.json, in my case, is about 6MB.

If you haven’t already, email [email protected] for help fixing the immediate problem. Good luck!