pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Pettus <xof@thebuild.com>
To: Meera Nair <mnair@commvault.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Punit Pranesh Koujalgi <pkoujalgi@commvault.com>
Subject: Re: Unable to archive logs in standby server
Date: Fri, 2 Sep 2022 07:12:35 -0700
Message-ID: <28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com> (raw)
In-Reply-To: <BY3PR19MB521984FE24EF6061E9BB8A50BA7A9@BY3PR19MB5219.namprd19.prod.outlook.com>
References: <BY3PR19MB5219675CB91B4167153F4F03BA8C9@BY3PR19MB5219.namprd19.prod.outlook.com>
	<BY3PR19MB52190A3BC5F4B6578193E87EBA8F9@BY3PR19MB5219.namprd19.prod.outlook.com>
	<CAA3DN=UQMDbBettQsa=8+LDvdkAt_mBG6NkRf2fu=yA55OgTqQ@mail.gmail.com>
	<BY3PR19MB52199C4D756C52A0E5E9504ABA8F9@BY3PR19MB5219.namprd19.prod.outlook.com>
	<CALUeYmcz4J7525E+J9S3PwSs43YVcr25GfktA_x2DUTQA1W3VA@mail.gmail.com>
	<BY3PR19MB5219A9F9188643442D6C2B0BBA8F9@BY3PR19MB5219.namprd19.prod.outlook.com>
	<BY3PR19MB521963D48E9AA6FE2E7ABAA2BA919@BY3PR19MB5219.namprd19.prod.outlook.com>
	<CAECtzeU9mL2dtmSLZ+2oA6miCE3raGg35QhKCvEvdfGH7sfECQ@mail.gmail.com>
	<SA1PR19MB5230F878BFC7B263DB571DADBA799@SA1PR19MB5230.namprd19.prod.outlook.com>
	<CAJnMy6dn2cg1ypNM9zsSiwR6yWn0aV7xvGyv=cwQ1ZYFRSTZUw@mail.gmail.com>
	<BY3PR19MB521984FE24EF6061E9BB8A50BA7A9@BY3PR19MB5219.namprd19.prod.outlook.com>



> On Sep 1, 2022, at 21:41, Meera Nair <mnair@commvault.com> wrote:
> Archival hangs. Is this expected?
> postgres=# select pg_start_backup('test', true, false);
> pg_start_backup
> -----------------
> 1/F9000060
> (1 row)
>  
> postgres=# select pg_stop_backup('f');
> NOTICE:  base backup done, waiting for required WAL segments to be archived
> WARNING:  still waiting for all required WAL segments to be archived (60 seconds elapsed)
> HINT:  Check that your archive_command is executing properly.  You can safely cancel this backup, but the database backup will not be usable without all the WAL segments.
> WARNING:  still waiting for all required WAL segments to be archived (120 seconds elapsed)
> HINT:  Check that your archive_command is executing properly.  You can safely cancel this backup, but the database backup will not be usable without all the WAL segments.

This generally means the command being run by archive_command is failing.  Check the PostgreSQL logs (if you are using CSV logs, check the *.log file rather than the *.csv file).




view thread (9+ messages)  latest in thread

Message-ID: <28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com>
Permalink:  ../28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com/
Also on:    postgresql.org/message-id/28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com

 · 

reply

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: xof@thebuild.com, mnair@commvault.com, pkoujalgi@commvault.com
  Subject: Re: Unable to archive logs in standby server
  In-Reply-To: <28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com>
  References: <BY3PR19MB5219675CB91B4167153F4F03BA8C9@BY3PR19MB5219.namprd19.prod.outlook.com> <BY3PR19MB52190A3BC5F4B6578193E87EBA8F9@BY3PR19MB5219.namprd19.prod.outlook.com> <CAA3DN=UQMDbBettQsa=8+LDvdkAt_mBG6NkRf2fu=yA55OgTqQ@mail.gmail.com> <BY3PR19MB52199C4D756C52A0E5E9504ABA8F9@BY3PR19MB5219.namprd19.prod.outlook.com> <CALUeYmcz4J7525E+J9S3PwSs43YVcr25GfktA_x2DUTQA1W3VA@mail.gmail.com> <BY3PR19MB5219A9F9188643442D6C2B0BBA8F9@BY3PR19MB5219.namprd19.prod.outlook.com> <BY3PR19MB521963D48E9AA6FE2E7ABAA2BA919@BY3PR19MB5219.namprd19.prod.outlook.com> <CAECtzeU9mL2dtmSLZ+2oA6miCE3raGg35QhKCvEvdfGH7sfECQ@mail.gmail.com> <SA1PR19MB5230F878BFC7B263DB571DADBA799@SA1PR19MB5230.namprd19.prod.outlook.com> <CAJnMy6dn2cg1ypNM9zsSiwR6yWn0aV7xvGyv=cwQ1ZYFRSTZUw@mail.gmail.com> <BY3PR19MB521984FE24EF6061E9BB8A50BA7A9@BY3PR19MB5219.namprd19.prod.outlook.com> <28429F2F-A1BA-42D8-9DC7-FCA27390AD0C@thebuild.com>

* 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