-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to download RDS log files that contain binary data #2400
Comments
This looks like an error coming from the service. The CLI is just a wrapper over the API. So it is just creating an HTTP request based on parameters provided and parsing/displaying the resulting HTTP response. The CLI in this case is just propagating the error from the service. So unfortunately, there is not much that can be done from the CLI codebase. I did a quick search of other people who ran into this issue and found this thread: https://forums.aws.amazon.com/thread.jspa?threadID=144248. So that may be of some use. If it is not, I would recommend reaching out on the AWS Developer Forums to see if there are any workarounds. |
Hi, Yeah I also came to that conclusion. I decided on using mysqlbinlog to download them (here's a gist I made). The problem with this workaround is that the user/pass is in the script. Even having them in an environment variable is not great. |
+1 |
Support is probably the best avenue for getting help here, but since there's nothing we can do about the issue I'm closing it out. |
…#2400) * Revert "chore: Enable pylint compare to zero/empty string" This reverts commit 1e3b282d1c83536c68dc0b754e74832f3af6dd49. * Revert "chore: Enable pylint Else If Used checker" This reverts commit 5819dedf38800522e587987345866c8ceb4d3aca. * Revert "chore: Remove unnecessary pylint disable" This reverts commit d4a5c46f159bd690375a01526e74b73497723ddc. * Revert "chore: Enable pylint line too long" This reverts commit fb54504124cf04f163189ed8d02be4fc9663dd16. * Revert "chore: Enable pylint multi-processes" This reverts commit b02c8d94c942395fb1b7d27c00d0328c373956d6. * Revert "chore: Enable pylint rule Unused import" This reverts commit a6eda1d68cd627b73eba3f558b30f74a3863ab84. * Revert "chore: Remove pylint rules that do not apply for python 3" This reverts commit 62120054ea79b5aa25f03a1924640c8ecc77ce68. * Revert "chore: Make pylintrc ignore rule more readable" This reverts commit fe503854829fe316b76a6123aeff98298174e1c2.
When using aws rds download-db-log-file-portion if the log file contains binary data you get the error message "An error occurred (InvalidParameterValue) when calling the DownloadDBLogFilePortion operation: This file contains binary data and should be downloaded instead of viewed."
The text was updated successfully, but these errors were encountered: