pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Generate backup manifests for base backups, and validate them.
Date: Tue, 7 Apr 2020 12:44:26 -0400
Message-ID: <CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@mail.gmail.com> (raw)
In-Reply-To: <172c9d9b-1d0a-1b94-1456-376b1e017322@2ndquadrant.com>
References: <E1jKRem-0004xp-8Y@gemulon.postgresql.org>
	<172c9d9b-1d0a-1b94-1456-376b1e017322@2ndquadrant.com>

On Tue, Apr 7, 2020 at 5:51 AM Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> On 2020-04-03 21:07, Robert Haas wrote:
> > A new tool called pg_validatebackup can validate a backup against the
> > manifest.
>
> In software engineering, "verify" and "validate" have standardized
> distinct meanings.  I'm not going to try to explain them here, but you
> can easily find them online.  I haven't formed an opinion on which one
> of them this tool is doing, but I notice that both the man page and the
> messages produced by the tool use the two terms seemingly
> interchangeably.  We should try to pick the correct term and use it
> consistently.

The tool is trying to make sure that we have the same backup that
we're supposed to have, and that the associated WAL is present and
sane. Looking at
https://en.wikipedia.org/wiki/Verification_and_validation, that sounds
more like verification than validation, but I confess that this
distinction is new to me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





view thread (4+ messages)  latest in thread

Message-ID: <CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@mail.gmail.com>
Permalink:  ../CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@mail.gmail.com/
Also on:    postgresql.org/message-id/CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@mail.gmail.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-committers@postgresql.org
  Cc: robertmhaas@gmail.com, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Generate backup manifests for base backups, and validate them.
  In-Reply-To: <CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@mail.gmail.com>
  References: <E1jKRem-0004xp-8Y@gemulon.postgresql.org> <172c9d9b-1d0a-1b94-1456-376b1e017322@2ndquadrant.com> <CA+TgmoYj0p97agO34-WGVCx3RrAHEcsXf01cvr4YH_vg5x2w2g@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox