Skip to content

tar package is missing in pgbackrest image #1648

Description

@gkolvo

Proposal

Hi Team,
I want to copy out the backups stored in repo-host to have it externally, but it seems that tar package is not included in percona-pgbackrest:2.58.0-2 image.

kubectl cp db-cluster-repo-host-0:/pgbackrest/repo1/test1 .test
error: Internal error occurred: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "3cd4c482e3f4809dde7d18b20520012208921684d9b8aa1ae4155c76a8b784e9": OCI runtime exec failed: exec failed: unable to start container process: exec: "tar": executable file not found in $PATH: unknown

kubectl exec -it db-cluster-repo-host-0 -c pgbackrest -- /bin/bash
bash-5.1$ tar
bash: tar: command not found

Best regards,
Grzegorz

Use-Case

Possibility to store backups externally, in case we not able to use s3 bucket or others.

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions