Re: pg_validatebackup -> pg_verifybackup? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_validatebackup -> pg_verifybackup?
Date
Msg-id 20200410211959.x7bhdpserbrdncpa@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_validatebackup -> pg_verifybackup?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_validatebackup -> pg_verifybackup?
List pgsql-hackers
Hi,

On 2020-04-10 16:40:02 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2020-04-10 16:13:18 -0400, Tom Lane wrote:
> >> Well, we're not getting there for v13.  Are you proposing that this
> >> patch just be reverted because it doesn't do everything at once?
> 
> > No. I suggest choosing a name that's compatible with moving more
> > capabilities under the same umbrella at a later time (and I suggested
> > the same pre freeze too). Possibly adding a toplevel --verify-manifest
> > option as the only change besides naming.
> 
> It doesn't really seem like either name is problematic from that
> standpoint?  "Verify backup" isn't prejudging what aspect of the
> backup is going to be verified, AFAICS.

My point is that I'd eventually like to see the same tool also be usable
to just verify the checksums of a normal, non-backup, data directory.

We shouldn't end up with pg_verifybackup, pg_checksums,
pg_dbdir_checknofilesmissing, pg_checkpageheaders, ...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed
Next
From: Tom Lane
Date:
Subject: Re: pg_validatebackup -> pg_verifybackup?