diff --git a/docs/30_Configuration/60_File_env.md b/docs/30_Configuration/60_File_env.md new file mode 100644 index 0000000000000000000000000000000000000000..715afa64d0c30f61eb232462a3d9fb4d46e4cfd5 --- /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 +```