Rename environment variable to AWS_DEFAULT_REGION

This seems to be the correct name, at least the AWS cli uses it:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
This commit is contained in:
Alexander Neumann 2019-11-22 15:24:42 +01:00
parent 4cadc89ad3
commit fb95426f64
3 changed files with 7 additions and 7 deletions

View file

@ -198,10 +198,10 @@ default location:
Losing your password means that your data is irrecoverably lost.
If needed, you can manually specify the region to use by either setting the
environment variable ``AWS_REGION`` or calling restic with an option parameter
like ``-o s3.region="us-east-1"``. If the region is not specified, the default
region is used. Afterwards, the S3 server (``s3.amazonaws.com``) will redirect
restic to the correct endpoint.
environment variable ``AWS_DEFAULT_REGION`` or calling restic with an option
parameter like ``-o s3.region="us-east-1"``. If the region is not specified,
the default region is used. Afterwards, the S3 server (at least for AWS,
``s3.amazonaws.com``) will redirect restic to the correct endpoint.
Until version 0.8.0, restic used a default prefix of ``restic``, so the files
in the bucket were placed in a directory named ``restic``. If you want to