s3-pit-restore
s3-pit-restore copied to clipboard
Incorrect docker command example in README
The docker command in the README seems to be incorrect:
docker run -ti --rm --name=s3-pit-restore -v {$PWD}/restore:/tmp -e AWS_ACCESS_KEY_ID=[AWS_ACCESS_KEY_ID] -e AWS_SECRET_ACCESS_KEY=[AWS_ACCESS_KEY_ID] angelocompagnucci/s3-pit-restore:latest s3-pit-restore -b [Bucket] -p [Prefix] -d /tmp -t "01-25-2018 10:59:50 +2"
results in s3-pit-restore: error: unrecognized arguments: s3-pit-restore
This docker command worked for me:
docker run -ti --rm --name=s3-pit-restore -v $PWD/restore:/tmp -e AWS_ACCESS_KEY_ID=[AWS_ACCESS_KEY_ID] -e AWS_SECRET_ACCESS_KEY=[AWS_SECRET_ACCESS_KEY_ID] -e AWS_DEFAULT_REGION=[AWS_REGION] angelocompagnucci/s3-pit-restore:latest [Bucket] -p [Prefix] -d /tmp -t "01-25-2020 10:59:50 +2"