Feature Request: Backup once on close
Hi, I love your plugin and wanted to feedback on a feature I think would improve it. (Apologies if this is not the best way to make a feature request.) I was wondering if it would be possible to add an option in the plugin settings for running a backup when the application is closed as opposed to when it opens. This is how several other word-processing applications that I use run their backups, for example, Scrivener. It just makes more sense to me to have a backup of everything as it was when you used it last. (If you used Obsidian for several hours, closed it, and then some time later had a system failure or the local files were corrupted, you would lose all of that work. If a zip backup was created when the application was closed, everything would be backed up.) Thanks!
Hi, thank you for your advice, in fact I wanted to add this feature at the early time, but unfortunately Obsidian has no API to make that, so this feature hadn't been done yet
Hi, indeed thank you for this great plugin.
I was also wondering if a backup could be done when Obsidian is closing and i found the Workspace.on('quit') event. I haven't tried but i think it may work it that case.
https://docs.obsidian.md/Reference/TypeScript+API/Workspace/on('quit')
I found this link on the Obsidian Forum https://forum.obsidian.md/t/cleanup-when-obsidian-is-closed/83709
This feature is supported at the latest version: 0.1.9. So this issue will be closed.