trilium
trilium copied to clipboard
(Feature request) Utilize Git for Notes backup
Describe feature
May you implement a way to utilize Git to remotely back up notes?
Additional Information
No response
Git alone is a really bad way to version database files. Trilium uses a SQLite database file instead of flat files for a number of reasons, but one drawback is incompatibility with traditional VCS’s. However, Trilium has a built-in version management system within the database as well as daily, weekly, and monthly backups.
Git is not suitable for this task. The simplest way to get a remote backup is run a Trilium client on a different computer and sync it with the server.
One useful use-case for this feature would be in cases where a team uses Git to share Markdown notes. The extra step for a Trilium user to export notes to markdown then upload them into a folder, or the reverse of downloading the notes from the Git server than importing them from the Markdown could be alleviated with this feature.