myENA / consul-backinator

Command line Consul backup and restore utility supporting KVs, ACLs and Queries
Mozilla Public License 2.0
226 stars 22 forks source link

Failed to backup key data: BucketAlreadyOwnedByYou #31

Closed nani-ar closed 7 years ago

nani-ar commented 7 years ago

docker run myena/consul-backinator backup -addr=10.0.1.50:8500 -file=s3://access key id:secretaccesskey@anilmytest/Backup?region=us-west-2 [Error] Failed to backup key data: BucketAlreadyOwnedByYou: Your previous request to create the named bucket succeeded and you already own it. status code: 409, request id: 3F231DD26FB7B637, host id: sQDegGUjvnzlT5YH7lcwZzLHmZPd1gNUBLKrB65VPKgiifX1rImHJPexGjwa/kT41/Xi6RTLlv8=

aaronhurt commented 7 years ago

This is an issue with a new return code from CreateBucket as outlined in #30 ... we shouldn't fail on this error.

aaronhurt commented 7 years ago

@nanidvps Thank you for all the help. Let me know if the new latest build fixes this once it finishes in Docker Hub: https://hub.docker.com/r/myena/consul-backinator/builds/