mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
doc: Correct FAQ
This commit is contained in:
parent
2080afd9de
commit
a7a478a19e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user