BCDevOps / backup-container

A simple container for a simple backup strategy.
Apache License 2.0
42 stars 56 forks source link

Revert postgres plugin to use gzip and gunzip #125

Closed jujaga closed 8 months ago

jujaga commented 8 months ago

While the change introduced in #115 achieves role backups, the switch from the gzip/gunzip tool to tar introduces file boundary artifacts in the backup stream, which psql is unable to handle. By rolling back to using gzip/gunzip in lieu of tar, we are able to concatenate and preserve equivalent behavior, but without the extraneous file boundary markers.

Capture