public inbox for [email protected]  
help / color / mirror / Atom feed
From: KK CHN <[email protected]>
To: Greg Sabino Mullane <[email protected]>
Cc: [email protected]
Subject: Re: Pgbackrest failure for INCR and DIFF but not FULL backup
Date: Thu, 8 May 2025 16:46:13 +0530
Message-ID: <CAKgGyB-2k0xEdSMME_yQu80JsxpApmm8_j8N1ekGjHNsjTSOzA@mail.gmail.com> (raw)
In-Reply-To: <CAKAnmm+ToUhZPGrzDssn2S4ie+znw0hVH_xKXe=6XRMSYjQS5Q@mail.gmail.com>
References: <CAKgGyB-8ap3-zna_gkpEQNfzgWzu4QwO5Y6U_-2q1JcjK=UTvw@mail.gmail.com>
	<CAKAnmm+ToUhZPGrzDssn2S4ie+znw0hVH_xKXe=6XRMSYjQS5Q@mail.gmail.com>

On Wed, May 7, 2025 at 6:46 PM Greg Sabino Mullane <[email protected]>
wrote:

> On Wed, May 7, 2025 at 7:15 AM KK CHN <[email protected]> wrote:
>
>> *archive_command = 'pgbackrest --stanza=My_Repo archive-push %p && cp %p
>> /data/archive/%f' *
>>
>
> Don't do this. You are archiving twice, and worse, the first part is using
> async archiving. Remove that whole "cp" part. Once that is fixed, run:
>

I'm going to see if putting   *archive_command = 'pgbackrest
--stanza=My_Repo archive-push %p'   *fix the problem.  This was haunting me
for more than a week.

Thanks for the suggestion.


> pgbackrest --stanza=My_Repo check
>
> to verify that WAL is being archived quickly and properly. Then test your
> backups, checking the file
> /var/log/pgbackrest/My_Repo-archive-push-async.log and your postgres log if
> any problems arise.
>
> Thanks .
Krishane


Cheers,
> Greg
>
> --
> Crunchy Data - https://www.crunchydata.com
> Enterprise Postgres Software Products & Tech Support
>
>


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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Pgbackrest failure for INCR and DIFF but not FULL backup
  In-Reply-To: <CAKgGyB-2k0xEdSMME_yQu80JsxpApmm8_j8N1ekGjHNsjTSOzA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox