You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Команда pg_probackup-16 backup -B ~/backup -b FULL --instance=1cnode --compress-algorithm=zlib -d ERP2Demo возвращает
ERROR: could not connect to database ERP2Demo: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: Нет такого файла или каталога
Is the server running locally and accepting connections on that socket?
На самом деле socket по умолчанию находится /tmp
ls -la /tmp/
итого 40
drwxrwxrwt 10 root root 4096 июл 18 18:50 .
drwxr-xr-x 19 root root 4096 июл 17 09:25 ..
srwxrwxrwx 1 postgres postgres 0 июл 18 18:50 .s.PGSQL.5432
-rw------- 1 postgres postgres 54 июл 18 18:50 .s.PGSQL.5432.lock
uname -a
Linux DESKTOP-1F7O6M0 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
pg_probackup-16 --version
pg_probackup-16 2.5.15 (PostgreSQL 16.2)
The text was updated successfully, but these errors were encountered:
В качестве альтернативы вы можете изменить LD_LIBRARY_PATH так, чтобы он указывал в директорию, в которой находится libpq от той инсталляции postgres, которую вы бэкапите.
Команда pg_probackup-16 backup -B ~/backup -b FULL --instance=1cnode --compress-algorithm=zlib -d ERP2Demo возвращает
ERROR: could not connect to database ERP2Demo: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: Нет такого файла или каталога
Is the server running locally and accepting connections on that socket?
На самом деле socket по умолчанию находится /tmp
ls -la /tmp/
итого 40
drwxrwxrwt 10 root root 4096 июл 18 18:50 .
drwxr-xr-x 19 root root 4096 июл 17 09:25 ..
srwxrwxrwx 1 postgres postgres 0 июл 18 18:50 .s.PGSQL.5432
-rw------- 1 postgres postgres 54 июл 18 18:50 .s.PGSQL.5432.lock
uname -a
Linux DESKTOP-1F7O6M0 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
pg_probackup-16 --version
pg_probackup-16 2.5.15 (PostgreSQL 16.2)
The text was updated successfully, but these errors were encountered: