zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

Export / Import of trilium data (Feature request) #4647

Open ajcallegari opened 8 months ago

ajcallegari commented 8 months ago

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

sigaloid commented 8 months ago

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

meichthys commented 8 months ago

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

ajcallegari commented 8 months ago

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?