kbaum / heroku-database-backups

Heroku database backups and copies to S3
MIT License
99 stars 82 forks source link

Add NOGZIP variable to be able to switch off gzip #16

Closed AleksandrKudashkin closed 7 years ago

AleksandrKudashkin commented 7 years ago

Hi @kbaum, Thank you for the solution, it is very helpful. In our setup, we found that to restore backups using heroku pg:backups:restore it is better to have unzipped dump on S3. I'm adding that function by using $NOGZIP variable.

AleksandrKudashkin commented 7 years ago

Good point, thanks! I've DRYed the condition.