I'm trying to backup server data to S3 but getting no success. Below is the script which I run to start backup on S3.
I have create a user using IAM and have granted all permissions to the user.
#!/bin/bash export AWS_ACCESS_KEY_ID="access key goes here" export AWS_SECRET_ACCESS_KEY="secrete key goes here" export PASSPHRASE="passphrase goes here" duplicity --no-encryption demo/* s3+http://s3.amazonaws.com/[backet-name] &>> backups.log AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" PASSPHRASE=""
Below is the output of the log:
Import of duplicity.backends.dpbxbackend Failed: No module named dropbox Local and Remote metadata are synchronized, no sync needed. Last full backup date: none No signatures found, switching to full backup. Failed to create bucket (attempt #1) 's3.amazonaws.com' failed (reason: S3ResponseError: S3ResponseError: 403 Forbidden)