@@ -3,8 +3,6 @@ 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.
WIP: Or you can override used parameters during backup. The parameters for mysqldump are in env_defaults. If you want to change them then put ``LD_MYSQL_DUMP_PARAMS=...`` into env file.
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:
...
...
@@ -12,3 +10,62 @@ This might be helpful on MS Windows. If you put the restic binary "somewhere" eg
```bash
PATH=/c/portable/restic/:$PATH
```
## Override parameters
In the file ``jobs/env_defaults`` are some vars to set some defaults for the command lines during backup.
Do not edit this file - it is part of the repository. To customize a value copy it to ``jobs/env`` and make your changes there.
You can override used parameters during backup. The parameters for mysqldump are in env_defaults. If you want to change them then put ``LD_MYSQL_DUMP_PARAMS=...`` into env file.
### Transfer :: Restic
There are some environment variables for tuning
* RESTIC_COMPRESSION
* RESTIC_READ_CONCURRENCY
* RESTIC_PACK_SIZE
see <https://restic.readthedocs.io/en/latest/047_tuning_backup_parameters.html>