Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAM folder-level permissions cause tablesnap to fail #76

Open
tightly-clutched opened this issue Mar 1, 2017 · 1 comment
Open

IAM folder-level permissions cause tablesnap to fail #76

tightly-clutched opened this issue Mar 1, 2017 · 1 comment

Comments

@tightly-clutched
Copy link

tightly-clutched commented Mar 1, 2017

I've set up folder-level permission in AWS IAM following this guide. So my dev user has all permissions on s3://tablesnap/backups/dev/, for example.

invoking tablesnap with --prefix backups/dev/ fails silently. the only entry in syslog is tablesnap: Starting up and no files are transferred. I can read, write, delete to the folder using the awscli, so I know the permissions are correct.

@tightly-clutched
Copy link
Author

looks like this is due to the way the prefix is used in tablesnap. It seems to me that prefix is used to construct the filename, whereas the folder-level permissions are expecting /s3-bucket/prefix/ and then the bare filename.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant