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
PostgreSQL credentials not being escaped properly #581
Comments
The cause of the issue is because there was an apostrophe in my password. It is not being escaped when the shell script is generated. To allow passwords with any sort of characters I think sh and bash reserved characters should be escaped. |
We've had a similar issue in #552 recently. I pushed the Add this to your Gemfile instead of the gem "backup", git: "https://github.com/meskyanichi/backup.git", ref: "postgres_escaped_params" |
I confirm your fix works as expected. |
Fix is included in the just released v4.0.5 |
Awesome! I'll update my server, |
It looks like the gzip is failing because of something happening in the postgres dump:
When I check the
backups
folder, the archive is not compressed.Here is my model.
The text was updated successfully, but these errors were encountered: