pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
initdb --data-checksums
3+ messages / 3 participants
[nested] [flat]

* initdb --data-checksums
@ 2020-11-09 17:00 Matt Zagrabelny <mzagrabe@d.umn.edu>
  2020-11-09 17:03 ` Re: initdb --data-checksums Paul Förster <paul.foerster@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Matt Zagrabelny @ 2020-11-09 17:00 UTC (permalink / raw)
  To: pgsql-general

Hello,

I see the --data-checksums option for initdb. Is it possible to use
--data-checksums after the cluster has been initialized? I'm guessing
"not", but thought I'd ask.

I'm running v12 on Debian.

Thanks for any help!

-m

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: initdb --data-checksums
  2020-11-09 17:00 initdb --data-checksums Matt Zagrabelny <mzagrabe@d.umn.edu>
@ 2020-11-09 17:03 ` Paul Förster <paul.foerster@gmail.com>
  2020-11-10 02:04   ` Re: initdb --data-checksums Michael Paquier <michael@paquier.xyz>
  0 siblings, 1 reply; 3+ messages in thread

From: Paul Förster @ 2020-11-09 17:03 UTC (permalink / raw)
  To: Matt Zagrabelny <mzagrabe@d.umn.edu>; +Cc: pgsql-general

Hi Matt,

> On 09. Nov, 2020, at 18:00, Matt Zagrabelny <mzagrabe@d.umn.edu> wrote:
> 
> Hello,
> 
> I see the --data-checksums option for initdb. Is it possible to use --data-checksums after the cluster has been initialized? I'm guessing "not", but thought I'd ask.
> 
> I'm running v12 on Debian.
> 
> Thanks for any help!

indeed, it is. Have a look at:

https://www.postgresql.org/docs/12/app-pgchecksums.html

Make sure the database is cleanly shut down before doing it.

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: initdb --data-checksums
  2020-11-09 17:00 initdb --data-checksums Matt Zagrabelny <mzagrabe@d.umn.edu>
  2020-11-09 17:03 ` Re: initdb --data-checksums Paul Förster <paul.foerster@gmail.com>
@ 2020-11-10 02:04   ` Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2020-11-10 02:04 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Matt Zagrabelny <mzagrabe@d.umn.edu>; pgsql-general

On Mon, Nov 09, 2020 at 06:03:43PM +0100, Paul Förster wrote:
> indeed, it is. Have a look at:
> 
> https://www.postgresql.org/docs/12/app-pgchecksums.html
> 
> Make sure the database is cleanly shut down before doing it.

This tool is really useful with upgrades after pg_upgrade.  Please
note that there is a --progress option, so you can basically know how
long it is going to take until completion.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-11-10 02:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 17:00 initdb --data-checksums Matt Zagrabelny <mzagrabe@d.umn.edu>
2020-11-09 17:03 ` Paul Förster <paul.foerster@gmail.com>
2020-11-10 02:04   ` Michael Paquier <michael@paquier.xyz>

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