Created
September 13, 2022 08:46
-
-
Save jagland/7a43e171f0997f4e6350351e70f9dd82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# AWS secrets from the IAM account. | |
export AWS_ACCESS_KEY_ID="" | |
export AWS_SECRET_ACCESS_KEY="" | |
# Passphrase for duplicity backups (GPG encrypted) | |
export PASSPHRASE="" | |
duplicity restore boto3+s3://example-s3-bucket/$j /data/testrestore/$1 --tempdir=/data/tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment