From 338f222f1a084099bbdebdffc173a19cc91d2d7e Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 17 Mar 2023 08:55:34 +0100
Subject: [PATCH] add doc page for env

---
 docs/30_Configuration/60_File_env.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 docs/30_Configuration/60_File_env.md

diff --git a/docs/30_Configuration/60_File_env.md b/docs/30_Configuration/60_File_env.md
new file mode 100644
index 0000000..715afa6
--- /dev/null
+++ b/docs/30_Configuration/60_File_env.md
@@ -0,0 +1,12 @@
+If a file `env` exists in the folder `./jobs/` it will be sourced by the backup scripts.
+Here you can set custom environment variables.
+
+A common usage is extending the variable PATH to execute binaries that are not located in any directory.
+
+Example:
+
+This might be helpful on MS Windows. If you put the restic binary "somewhere" eg. c:\portable\restic\restic.exe then you can add the path to the env file:
+
+```bash
+PATH=/c/portable/restic/:$PATH
+```
-- 
GitLab