User Tools

Site Tools


checksum

enable checksum after creation (initdb)

Ubuntu 24.04 / postgres v16 with primary and secondary:

* shutdown primary and secondary

* and - on both clusters:

sudo -u postgres /usr/lib/postgresql/16/bin/pg_checksums -P -e -D $PGDATA

* Start the primary and secondary

* And check if checksum is enabled on both (on):

sudo -u postgres psql -c "show data_checksums"
checksum.txt · Last modified: 2025/05/31 08:29 by jbi