Add temporary_directory
as a configuration option defaulting to $TMPDIR
This commit is contained in:
parent
9b83fcbf06
commit
7cad5a8608
2 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,7 @@ OPTION_TO_ENVIRONMENT_VARIABLE = {
|
||||||
'encryption_passcommand': 'BORG_PASSCOMMAND',
|
'encryption_passcommand': 'BORG_PASSCOMMAND',
|
||||||
'encryption_passphrase': 'BORG_PASSPHRASE',
|
'encryption_passphrase': 'BORG_PASSPHRASE',
|
||||||
'ssh_command': 'BORG_RSH',
|
'ssh_command': 'BORG_RSH',
|
||||||
|
'temporary_directory': 'TMPDIR',
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_BOOL_OPTION_TO_ENVIRONMENT_VARIABLE = {
|
DEFAULT_BOOL_OPTION_TO_ENVIRONMENT_VARIABLE = {
|
||||||
|
|
|
@ -228,6 +228,12 @@ map:
|
||||||
Remote network upload rate limit in kiBytes/second. Defaults
|
Remote network upload rate limit in kiBytes/second. Defaults
|
||||||
to unlimited.
|
to unlimited.
|
||||||
example: 100
|
example: 100
|
||||||
|
temporary_directory:
|
||||||
|
type: str
|
||||||
|
desc: |
|
||||||
|
Directory where temporary files are stored. Defaults to
|
||||||
|
$TMPDIR
|
||||||
|
example: /path/to/tmpdir
|
||||||
ssh_command:
|
ssh_command:
|
||||||
type: str
|
type: str
|
||||||
desc: |
|
desc: |
|
||||||
|
|
Loading…
Reference in a new issue