2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 21:57:41 +00:00

docs: fix typo in working with repos

When using the `copy` command, `--from-password-file` and `--from-password-command` flags are used to specify the password of the source repository, not of the destination repository.
This commit is contained in:
Giuseppe D'Andrea 2023-12-05 16:10:39 +01:00 committed by Michael Eischer
parent 30e6ed038c
commit a128976014

View File

@ -120,7 +120,7 @@ be skipped by later copy runs.
The source repository is specified with ``--from-repo`` or can be read The source repository is specified with ``--from-repo`` or can be read
from a file specified via ``--from-repository-file``. Both of these options from a file specified via ``--from-repository-file``. Both of these options
can also be set as environment variables ``$RESTIC_FROM_REPOSITORY`` or can also be set as environment variables ``$RESTIC_FROM_REPOSITORY`` or
``$RESTIC_FROM_REPOSITORY_FILE``, respectively. For the destination repository ``$RESTIC_FROM_REPOSITORY_FILE``, respectively. For the source repository
the password can be read from a file ``--from-password-file`` or from a command the password can be read from a file ``--from-password-file`` or from a command
``--from-password-command``. ``--from-password-command``.
Alternatively the environment variables ``$RESTIC_FROM_PASSWORD_COMMAND`` and Alternatively the environment variables ``$RESTIC_FROM_PASSWORD_COMMAND`` and