I use Obsidian Sync1 after a few very stressful bugs with livesync plugin2.
I build and publish website using quartz3 to have selected notes publicly available.
I also need some kind of backup.
Obsidian plugin with git doesn’t seem optimal as it can be resource intensive and will probably conflict with Sync.
As I don’t want to mix up git and sync plugin, the best idea is probably to make snapshot of vault to git repo. This gives me backup on which I can run static website generation.
The problem is, I would need to use laptop to run it from time to time.
To automate it, I plan to use container which runs Obsidian and sync and from time to time run script automatically. This allows automatic backups with unlimited history (not limited to 1 or 12 months available in Obsidian Sync).
I wanted to build my own image including Obsidian based on linuxserver kasmvnc image4 but there is already ready to use VNC image with Obsidian5. So I can just create image based on it or mount file with script run every 1h or so.
TODO run image and see how it works after logging in to Sync