From b2b30b4aeea88774795091149ed3ef318e6a895a Mon Sep 17 00:00:00 2001 From: peterrus <1117858+peterrus@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:52:41 +0100 Subject: [PATCH] fixes #12, typo --- README.md | 2 +- entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cfd8692..e7b17ff 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The container is configured via a set of required environment variables: - `BACKUP_NAME`: A name to identify your backup among the other files in your bucket, it will be postfixed with the current timestamp (date and time) And the following optional environment variables: -- `S3_ENDPOINT_URL`: (Optional, defaults to whatever AWS provides) configurable S3 endpoint URL for non-Amazon services (e.g. [Wasabi](https://wasabi.com/) or [Minio](https://min.io/)) +- `S3_ENDPOINT`: (Optional, defaults to whatever aws-cli provides) configurable S3 endpoint URL for non-Amazon services (e.g. [Wasabi](https://wasabi.com/) or [Minio](https://min.io/)) - `S3_STORAGE_CLASS`: (Optional, defaults to `STANDARD`) S3 storage class, see [aws cli documentation](https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html) for options - `TARGET`: (Optional, defaults to `/data`) Specifies the target location to backup. Useful for sidecar containers and to filter files. - Example with multiple targets: `TARGET="/var/log/*.log /var/lib/mysql/*.dmp"` (Arguments will be passed to `tar`). diff --git a/entrypoint.sh b/entrypoint.sh index 5955c52..8d7b9fe 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,6 +9,7 @@ export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} export S3_BUCKET_URL=${S3_BUCKET_URL} export S3_STORAGE_CLASS=${S3_STORAGE_CLASS} +export S3_ENDPOINT=${S3_ENDPOINT} EOF echo "creating crontab"