mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:17:42 +00:00
Add new option --repository-file (default: $RESTIC_REPOSITORY_FILE)
As an alternative to -r, this allows to read the repository URL from a file in order to prevent certain types of information leaks, especially for URLs containing credentials. Fixes #1458, fixes #2900.
This commit is contained in:

committed by
Michael Eischer

parent
34ea960559
commit
97f7855de3
@@ -407,6 +407,7 @@ environment variables. The following lists these environment variables:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
RESTIC_REPOSITORY_FILE Name of a file containing the location of the repository (replaces --repository-file)
|
||||
RESTIC_REPOSITORY Location of repository (replaces -r)
|
||||
RESTIC_PASSWORD_FILE Location of password file (replaces --password-file)
|
||||
RESTIC_PASSWORD The actual password for the repository
|
||||
|
Reference in New Issue
Block a user