Skip to content

Commit

Permalink
docs: fix typo in working with repos
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
giuseppedandrea authored and MichaelEischer committed Dec 24, 2023
1 parent 30e6ed0 commit a128976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/045_working_with_repos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ be skipped by later copy runs.
The source repository is specified with ``--from-repo`` or can be read
from a file specified via ``--from-repository-file``. Both of these options
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
``--from-password-command``.
Alternatively the environment variables ``$RESTIC_FROM_PASSWORD_COMMAND`` and
Expand Down

0 comments on commit a128976

Please sign in to comment.