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

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:

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.

Cheers,
Greg

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


view thread (2+ messages)

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: <CAKAnmm+ToUhZPGrzDssn2S4ie+znw0hVH_xKXe=6XRMSYjQS5Q@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