kartoza / docker-pg-backup

A cron job that will back up databases running in a docker postgres container
GNU General Public License v2.0
452 stars 103 forks source link

S3 cleaner, awk syntax error #40

Closed prevostc closed 3 years ago

prevostc commented 3 years ago

Hello, thank you for your amazing container ^^

I just can't make the S3 cleaner to work, it seems that awk {'print ${S3_BUCKET}" "${DEL_DAYS}'} is a syntax error, playing manually with the command I believe this works: awk '{print $S3_BUCKET" "$DEL_DAYS}'

Regards

NyakudyaA commented 3 years ago

Thanks @prevostc can you do a PR with the fix

prevostc commented 3 years ago

Sure, let me know if that's an ok fix :)