trilium icon indicating copy to clipboard operation
trilium copied to clipboard

Export / Import of trilium data (Feature request)

Open ajcallegari opened this issue 1 year ago • 3 comments

Describe feature

Would be great to have easy export and import of the database, either into a different file format or into a zip archive, for the purpose of backing up the data or moving it from one computer to another. Currently I have no clue how to back the SQLite db to google drive. There's not even a way to find the location of the db on my Mac OS desktop app (no, there is no report of the data location under Trilium Notes -> About Trilium Notes). Currently I'm very concerned that the db will be corrupted by a crash or computer will fail and all of my Trilium data will be lost.

Additional Information

No response

ajcallegari avatar Feb 13 '24 18:02 ajcallegari

You can export by right-clicking the root node (it's recursive). You can then select a number of options to export it, including a ZIP

sigaloid avatar Feb 13 '24 19:02 sigaloid

https://github.com/zadam/trilium/wiki/Data-directory

meichthys avatar Feb 13 '24 19:02 meichthys

Thanks for pointing that out! HTML export/import is just what I needed. Maybe this functionality is a bit hidden and could be exposed more clearly for the user by putting it on the File pull-down menu (File -> Export Node) where export functionality is usually made available?

ajcallegari avatar Feb 14 '24 00:02 ajcallegari