notion-backup-python icon indicating copy to clipboard operation
notion-backup-python copied to clipboard

Backup Format Suggestion

Open kennywasafk opened this issue 1 year ago • 4 comments

First of all huge thank you for posting this. With all of the methods using the unofficial API that let you download your backups now returning errors you are an absolute saviour holding us from plummeting into the madness that are manual backups.

I just wanted to note though, that while this method is brilliant, and seems to work flawlessly, the resulting backup is impossible to read and to restore back into Notion. (The JSON files don't even seem to contain whole pages, just snippets of information). Is there any chance the script can be modified to output something that's closer to what Notion itself offers through manual backups? Markdown files or .csv sheets would of course be perfect as they would allow you to brows the backup even without the need to restore it.

Huge thanks in advance!

kennywasafk avatar Feb 14 '24 21:02 kennywasafk

just stumbled upon this and had the same thought. Are there any updates on this? @kennywasafk did you by any chance find a solution to restorable backups?

LaurentBlanc73 avatar Oct 31 '24 21:10 LaurentBlanc73

I have not, unfortunately, and from the fact that there has been no positive or negative reply to my issue, I gather that the intention of the maintainer is to lock that functionality behind a paywall on their website (https://notionbackups.com/), while leaving this project on github in its current state. I doubt very much that an update to this open-source version will ever happen because it would undermine their business model.

image

kennywasafk avatar Oct 31 '24 21:10 kennywasafk

Guess you are right about that. Therefore I was playing around with Notions API and had a few findings. The .json format works great for restoring the pages. So if you use the Notion API to backup you can recreate the exact pages. I haven't found the markdown option yet, but since they are making money off of it, it could be worth it for them to translate the blocks they retrieve from the Notion API to markdown code. All in all the Notion API allows for building a similar tool for what their service is offering, but at least for me its going slowly and there are still some problems I need to solve.

LaurentBlanc73 avatar Nov 05 '24 16:11 LaurentBlanc73

Yea at this point I'm just backing up automatically using this tool and hoping that if something does go wrong I'll somehow find a way to decipher the JSON mess from those backups.

kennywasafk avatar Nov 05 '24 16:11 kennywasafk