From 17feccd998a5dcddea49013ed94b31f56f48c032 Mon Sep 17 00:00:00 2001 From: bugvillage Date: Sat, 7 Sep 2019 13:58:07 +0200 Subject: [PATCH 1/2] add description env var RESTIC_PASSWORD_COMMAND The environment variable RESTIC_PASSWORD_COMMAND works but has not been documented yet. e.g. it could contain a command that would fetch the password from a local user keyring enhances: https://github.com/restic/restic/pull/2094 --- doc/040_backup.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 18edea10f..e4694c8ad 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -355,6 +355,7 @@ environment variables. The following list of environment variables: 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 + RESTIC_PASSWORD_COMMAND Command printing the password for the repoaitory to stdout AWS_ACCESS_KEY_ID Amazon S3 access key ID AWS_SECRET_ACCESS_KEY Amazon S3 secret access key From b3e727f40d937b897140bd637deb682b67db37db Mon Sep 17 00:00:00 2001 From: bugvillage Date: Sat, 7 Sep 2019 15:30:23 +0200 Subject: [PATCH 2/2] fixing typo/align around RESTIC_PASSWORD_COMMAND --- doc/040_backup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index e4694c8ad..8f2b20984 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -355,7 +355,7 @@ environment variables. The following list of environment variables: 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 - RESTIC_PASSWORD_COMMAND Command printing the password for the repoaitory to stdout + RESTIC_PASSWORD_COMMAND Command printing the password for the repository to stdout AWS_ACCESS_KEY_ID Amazon S3 access key ID AWS_SECRET_ACCESS_KEY Amazon S3 secret access key