Skip to content

pg_progbackup 16 порт 5444 #646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevemayster opened this issue Jan 30, 2025 · 6 comments
Closed

pg_progbackup 16 порт 5444 #646

stevemayster opened this issue Jan 30, 2025 · 6 comments

Comments

@stevemayster
Copy link

Добрый день.
Поставили версию https://repo.postgrespro.ru/pg_probackup/rpm/latest/centos-8-x86_64/pg_probackup-16-2.5.15-2.ac92457c2d1cfe43fced5b1167b5c90ecdc24cbe.x86_64.rpm и столкнулись с интересным поведением.
При попытке забекапить базу pg_probackup пытается идти на порт 5444 хотя в .pgpass указан порт 5432.
Подскажите,пожалуйста, как это исправить?

@fukanchik
Copy link

Не может ли быть так, что у Вас 5444 где-то указан в переменных среды (PGPORT)?

@stevemayster
Copy link
Author

Добрый день. Проверил,нет, такая переменная не стоит

@slothfk
Copy link

slothfk commented Jan 31, 2025

А что говорит pg_probackup show-config --instance <имя вашего инстанса>

@stevemayster
Copy link
Author

@slothfk Добрый день.
Конфиг ниже

Backup instance information

pgdata = /pgsql/16/data
system-identifier = 7444499385350734942
xlog-seg-size = 16777216

Connection parameters

pgdatabase = backupdb
pghost = srv
pguser = backup

Replica parameters

replica-timeout = 5min

Archive parameters

archive-timeout = 5min

Logging parameters

log-level-console = INFO
log-level-file = LOG
log-format-console = PLAIN
log-format-file = PLAIN
log-filename = backup_cron_srv.log
log-directory = /backups/logs
log-rotation-size = 0TB
log-rotation-age = 0d

Retention parameters

retention-redundancy = 0
retention-window = 0
wal-depth = 0

Compression parameters

compress-algorithm = none
compress-level = 1

Remote access parameters

remote-proto = ssh
remote-host = srv
remote-user = postgres

@stevemayster
Copy link
Author

Проблема оказалась в репе edb из которой pg_probackup подхватывал зависимости вместо стандартной репы postgres

@fukanchik
Copy link

Спасибо за разъяснение.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants