Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Проблема с Бекапом со Слейв сервера WAL segment could not be streamed #640

Closed
@getthesoft

Description

Доброго времени суток! При запуске FULL бекапа удаленно со Слейв сервера выдаёт ошибку

INFO: Wait for LSN 2A6EE/510279A8 in streamed WAL segment /srv/prodump/backups/SRV1/SNG8DH/database/pg_wal/000000040002A6EE00000051
ERROR: WAL segment 000000040002A6EE00000051 could not be streamed in 1200 seconds
WARNING: Backup SNG8DH is running, setting its status to ERROR

в строке запуска стоит параметр --archive-timeout=1200
в логах БД увидел такое:

2024年11月24日 17:08:38.275 EET [951910] [psql] [postgres] [postgres] [127.0.0.1]ERROR: recovery is in progress
2024年11月24日 17:08:38.275 EET [951910] [psql] [postgres] [postgres] [127.0.0.1]HINT: WAL control functions cannot be executed during recovery.
2024年11月24日 17:08:38.275 EET [951910] [psql] [postgres] [postgres] [127.0.0.1]STATEMENT: select greatest(0,pg_wal_lsn_diff(pg_current_wal_lsn(), replay_lsn)) from pg_stat_replication where client_addr = '1.1.1.1'

  • 1.1.1.1 - адрес удаленного сервера на котором запускается бекап

PostgreSQL 13.15 pg_probackup 2.5.15 Размер БД ~ 3TB
Может сможете подсказать в какую сторону копать ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /