mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
Merge pull request #2769 from darkdragon-001/patch-1
Update documentation for environment variables
This commit is contained in:
commit
8598bb042b
@ -379,6 +379,7 @@ environment variables. The following list of environment variables:
|
|||||||
RESTIC_PASSWORD_FILE Location of password file (replaces --password-file)
|
RESTIC_PASSWORD_FILE Location of password file (replaces --password-file)
|
||||||
RESTIC_PASSWORD The actual password for the repository
|
RESTIC_PASSWORD The actual password for the repository
|
||||||
RESTIC_PASSWORD_COMMAND Command printing the password for the repository to stdout
|
RESTIC_PASSWORD_COMMAND Command printing the password for the repository to stdout
|
||||||
|
RESTIC_CACHE_DIR Location of the cache directory
|
||||||
|
|
||||||
AWS_ACCESS_KEY_ID Amazon S3 access key ID
|
AWS_ACCESS_KEY_ID Amazon S3 access key ID
|
||||||
AWS_SECRET_ACCESS_KEY Amazon S3 secret access key
|
AWS_SECRET_ACCESS_KEY Amazon S3 secret access key
|
||||||
@ -417,4 +418,9 @@ environment variables. The following list of environment variables:
|
|||||||
RCLONE_BWLIMIT rclone bandwidth limit
|
RCLONE_BWLIMIT rclone bandwidth limit
|
||||||
|
|
||||||
|
|
||||||
|
In addition to restic-specific environment variables, the following system-wide environment variables
|
||||||
|
are taken into account for various operations:
|
||||||
|
|
||||||
|
* ``$XDG_CACHE_HOME/restic``, ``$HOME/.cache/restic``: :ref:`caching`.
|
||||||
|
* ``$TMPDIR``: :ref:`temporary_files`.
|
||||||
|
* ``$PATH/fusermount``: Binary for ``restic mount``.
|
||||||
|
@ -361,6 +361,8 @@ lists all snapshots as JSON and uses ``jq`` to pretty-print the result:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
.. _temporary_files:
|
||||||
|
|
||||||
Temporary files
|
Temporary files
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
@ -378,6 +380,8 @@ instead of the default, set the environment variable like this:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.. _caching:
|
||||||
|
|
||||||
Caching
|
Caching
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user