2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

doc: Correct FAQ

This commit is contained in:
Alexander Neumann 2017-09-23 19:15:21 +02:00
parent 2080afd9de
commit a7a478a19e

View File

@ -32,13 +32,14 @@ How can I specify encryption passwords automatically?
When you run ``restic backup``, you need to enter the passphrase on
the console. This is not very convenient for automated backups, so you
can also provide the password through the ``--password-file`` option
or ``RESTIC_PASSWORD`` environment. A discussion is in progress over
implementing unattended backups happens in :issue:`533`.
can also provide the password through the ``--password-file`` option, or one of
the environment variables ``RESTIC_PASSWORD`` or ``RESTIC_PASSWORD_FILE``
environment variables. A discussion is in progress over implementing unattended
backups happens in :issue:`533`.
.. important:: Be careful how you set the environment; using the env
command, a `system()` call or using inline shell
scripts (e.g. `RESTIC_PASSWORD=password borg ...`)
scripts (e.g. `RESTIC_PASSWORD=password restic ...`)
might expose the credentials in the process list
directly and they will be readable to all users on a
system. Using export in a shell script file should be