note about trilium-data placement

azivner 2018-11-30 20:00:39 +01:00
parent 8e98e25cfe
commit 741ae44726

@ -1,6 +1,11 @@
Document is [SQLite](https://www.sqlite.org) database which contains all notes, tree structure, metadata and most of the configuration.
It's stored in single file, by default in `trilium-data/document.db`
It's stored in single file, by default in `trilium-data/document.db`, where `trilium-data` is stored in:
* `/home/[user]/.local/share` for Linux
* `C:\Users\[user]\AppData\Roaming` for Windows Vista and up
* `/Users/[user]/Library/Preferences` for Mac OS
* user's home if some of the paths above don't exist
If you want to backup your Trilium data, just backup this single file - it contains everything you need.