From: Laurenz Albe <laurenz.albe@cybertec.at>
To: 菊池祐 <y.kikuchi0714@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: About pg_basebackup
Date: Thu, 19 May 2022 08:57:14 +0200
Message-ID: <34e97beb7f8e2afbe463b42dced0d6b73364e568.camel@cybertec.at> (raw)
In-Reply-To: <CB36259C-486D-4676-BBAC-9860BF0CCE9E@gmail.com>
References: <CB36259C-486D-4676-BBAC-9860BF0CCE9E@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, y.kikuchi0714@gmail.com
Subject: Re: About pg_basebackup
In-Reply-To: <34e97beb7f8e2afbe463b42dced0d6b73364e568.camel@cybertec.at>
References: <CB36259C-486D-4676-BBAC-9860BF0CCE9E@gmail.com> <34e97beb7f8e2afbe463b42dced0d6b73364e568.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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