mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Updated Document (markdown)
parent
04d309d9ca
commit
37f03b8674
@ -1,5 +1,6 @@
|
|||||||
Document is [SQLite](https://www.sqlite.org) database which contains all notes, tree structure, metadata and most of the configuration.
|
Document is [SQLite](https://www.sqlite.org) database which contains all notes, tree structure, metadata and most of the configuration.
|
||||||
|
|
||||||
|
## Location
|
||||||
It's stored in single file, by default in `trilium-data/document.db`, where `trilium-data` is stored in:
|
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
|
* `/home/[user]/.local/share` for Linux
|
||||||
@ -10,6 +11,12 @@ It's stored in single file, by default in `trilium-data/document.db`, where `tri
|
|||||||
|
|
||||||
If you want to backup your Trilium data, just backup this single file - it contains everything you need.
|
If you want to backup your Trilium data, just backup this single file - it contains everything you need.
|
||||||
|
|
||||||
|
### Changing the location of the document
|
||||||
|
|
||||||
|
If you want to use some other location for the document than the default one, you may change it via TRILIUM_DATA_DIR environment variable to some other location, e.g.:
|
||||||
|
|
||||||
|
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
|
||||||
|
|
||||||
## Demo document
|
## Demo document
|
||||||
|
|
||||||
When you run Trilium for the first time, it will generate a demo document for you as a starting point. It's also pretty useful for demonstration of some of Trilium's features, e.g.:
|
When you run Trilium for the first time, it will generate a demo document for you as a starting point. It's also pretty useful for demonstration of some of Trilium's features, e.g.:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user