pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedAbout pg_basebackup
2+ messages / 2 participants
[nested] [flat]
* About pg_basebackup
@ 2022-05-19 04:18 菊池祐 <y.kikuchi0714@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: 菊池祐 @ 2022-05-19 04:18 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hi,
I executed the pg_basebackup command to set up a replication configuration in postgresql, but the following message appears and replication didn’t complete.
2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2742/2742 tablespaces NOTICE: pg_stop_backup cleanup done, waiting for required WAL segments to be archived WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (60 seconds elapsed) HINT: Check that your archive_command is executing properly. pg_stop_backup can be canceled safely, but the database backup will not be usable without all the WAL segments. WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (120 seconds elapsed)
・
・
・
Please let me know how to deal with this. The environment is as follows and I attached postgresql.conf file.
Version : 9.2
OS : Cent 6.6
Attachments:
-6124946774920295119postgresql.conf (application/octet-stream, 26.3K) download
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: About pg_basebackup
@ 2022-05-19 06:57 Laurenz Albe <laurenz.albe@cybertec.at>
parent: 菊池祐 <y.kikuchi0714@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2022-05-19 06:57 UTC (permalink / raw)
To: 菊池祐 <y.kikuchi0714@gmail.com>; pgsql-general@lists.postgresql.org
On Thu, 2022-05-19 at 13:18 +0900, 菊池祐 wrote:
> I executed the pg_basebackup command to set up a replication configuration in postgresql,
> but the following message appears and replication didn’t complete.
>
> 2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2742/2742 tablespaces
> NOTICE: pg_stop_backup cleanup done, waiting for required WAL segments to be archived
> WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (60 seconds elapsed)
> HINT: Check that your archive_command is executing properly. pg_stop_backup can be canceled safely, but the database backup will not be usable without all the WAL segments.
> WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (120 seconds elapsed)
I guess that your "archive_command" is hanging or failing.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-05-19 06:57 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 04:18 About pg_basebackup 菊池祐 <y.kikuchi0714@gmail.com>
2022-05-19 06:57 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox