From 3e3a875bdee567fd4f4a8b2b0a1e51b165856e1a Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 22 Dec 2022 19:53:30 +0100 Subject: [PATCH] Updated Data directory (markdown) --- Data directory.md => Data-directory.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) rename Data directory.md => Data-directory.md (87%) diff --git a/Data directory.md b/Data-directory.md similarity index 87% rename from Data directory.md rename to Data-directory.md index fea0027..ffac974 100644 --- a/Data directory.md +++ b/Data-directory.md @@ -71,4 +71,16 @@ To do this in unix based systems simply run trilium like this: TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium ``` -You can then save the above command as a shell script on your path for convenience. \ No newline at end of file +You can then save the above command as a shell script on your path for convenience. + +### Fine-grained directory/path location + +It's possible to configure e.g. backup and log directories separately, with following env. variables: + +* `TRILIUM_DOCUMENT_PATH` +* `TRILIUM_BACKUP_DIR` +* `TRILIUM_LOG_DIR` +* `TRILIUM_ANONYMIZED_DB_DIR` +* `TRILIUM_CONFIG_INI_PATH` + +If these are not set, default paths within the data directory will be used. \ No newline at end of file