2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00

Merge pull request #2769 from darkdragon-001/patch-1

Update documentation for environment variables
This commit is contained in:
rawtaz 2020-07-12 00:40:21 +02:00 committed by GitHub
commit 8598bb042b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -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``.

View File

@ -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
------- -------