Skip to content

Latest Version not working with Postgres #463

Description

@safaci2000

Summary

Unable to take a postgres backup pushing to Google Storage using HMAC keys.

Steps to reproduce

backup-now
2026-03-12.17:31:18 [INFO] ** [db-backup01] Starting Manual Backup for db-backup01
sudo: pg_isready: command not found
2026-03-12.17:31:24 [WARN] ** [01-dashboard-v2-6-0-pgbouncer.postgres-operator.svc__dashboard] Postgres Host 'dashboard-v2-6-0-pgbouncer.postgres-operator.svc' is not accessible, retrying.. (5 seconds so far)
sudo: pg_isready: command not found

What is the expected correct behavior?

Working Backup pushed to GCS/S3.

Relevant logs and/or screenshots

Env below. Redacted some of the more noisy irrelevant entries

env
AWS_CLI_VERSION=1.44.56
CONTAINER_ENABLE_LOGSHIPPING=FALSE
CONTAINER_ENABLE_MESSAGING=TRUE
CONTAINER_ENABLE_MONITORING=FALSE
CONTAINER_ENABLE_SCHEDULING=TRUE
CONTAINER_MESSAGING_BACKEND=msmtp
CONTAINER_MONITORING_BACKEND=zabbix
CONTAINER_SCHEDULING_BACKEND=cron
DB01_BACKUP_BEGIN=0000
DB01_BACKUP_INTERVAL=1440
DB01_BACKUP_LOCATION=S3
DB01_CHECKSUM=SHA1
DB01_CLEANUP_TIME=10080
DB01_COMPRESSION=GZ
DB01_NAME=dashboard
DB01_PASS=XC88mJ8VRTpC2kEDRgcy
DB01_S3_BUCKET=dev-dashboards
DB01_S3_CERT_SKIP_VERIFY=true
DB01_S3_HOST=storage.googleapis.com
DB01_S3_KEY_ID=GOOG1EGG4WAJSS.....
DB01_S3_KEY_SECRET=SECRET_KEY_REDACTED
DB01_S3_PATH=dev-staging/postgres
DB01_S3_PROTOCOL=https
DB01_S3_REGION=us-central1
DB01_SPLIT_DB=FALSE
DB01_TYPE=postgres
DB01_USER=postgres
DBBACKUP_USER=root
DB_HOST=dashboard-v2-6-0-pgbouncer.postgres-operator.svc
DEBUG_MODE=FALSE
DOAS_VERSION=v6.8.2
FLUENTBIT_VERSION=3.1.10
HOME=/root
HOSTNAME=databasebackup-2.6.0-8f7844f8f-25gs8
IMAGE_NAME=tiredofit/db-backup
IMAGE_REPO_URL=https://github.com/tiredofit/docker-db-backup/

MONITOR_PORT=tcp://34.118.230.6:5066
MONITOR_PORT_5066_TCP=tcp://34.118.230.6:5066
MONITOR_PORT_5066_TCP_ADDR=34.118.230.6
MONITOR_PORT_5066_TCP_PORT=5066
MONITOR_PORT_5066_TCP_PROTO=tcp
MONITOR_SERVICE_HOST=34.118.230.6
MONITOR_SERVICE_PORT=5066
MSODBC_VERSION=18.6.1.1-1
MSSQL_VERSION=18.6.1.1-1
MYSQL_REPO_URL=https://github.com/mysql/mysql-server
MYSQL_VERSION=mysql-8.4.8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
POSTGRES_VERSION=18.3
PS1=[tiredofit/db-backup:4.1.99 \t \w] $
PWD=/
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
S6_GLOBAL_PATH=/command:/usr/bin:/bin:/usr/sbin:sbin:/usr/local/bin:/usr/local/sbin
S6_KEEP_ENV=1
S6_OVERLAY_VERSION=3.2.0.2
SHLVL=2
TERM=xterm
TIMEZONE=Etc/GMT
YQ_VERSION=v4.44.2
ZABBIX_VERSION=7.0.8
_=/usr/bin/with-contenv

Environment

Kubernetes Cluster

  • Image version / tag: 4.1.99
  • Host OS: GKE Linux
  • Postgres Version: psql (PostgreSQL) 16.8 - Percona Distribution

I would also add the DB is up and running and supporting a live application so the connection logs are likely invalid or something changed and my config is wrong somehow. The last working version I had running was: 4.1.19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions