arqbackup / arq_restore

command-line utility for restoring from Arq backups
https://www.arqbackup.com
649 stars 129 forks source link

multiple buckets (users) with different ARQ_ENCRYPTION_PASSWORD for each throws "restore error: decrypt error: bad decrypt" #10

Closed allanzoid closed 7 years ago

allanzoid commented 11 years ago

I use a single AWS account with multiple users/keys to store backups in each computer's bucket. Each user has their own ACCESS_KEY SECRET_KEY and ENCRYPTION_PASSWORD.

When I use the arq_restore, I can get only one user's data (the first bucket handed back from AWS) if I chose the correct key and password combos. Other buckets are not accessible because arq_restore stops when it hits the error "restore error: decrypt error: bad decrypt".

Maybe it should continue to look for additional buckets if the decrypt fails, or be able to pick the bucket by name from a list if you have provided the right keys.

Thanks! I like the software, love the idea of open source the restore too.

tommack commented 10 years ago

I created a simple hack to get around this if anyone is interested: tommack@5765ad123bac3612f5d1723a735a53830e82cd57

I have zero Objective C and Xcode experience, so, no promises.

arqbackup commented 7 years ago

The latest version of arq_restore has a feature for adding multiple targets, which should resolve this.