DB corrupted after Linode outage?

I think my forum’s DB is now corrupted after the recent Linode outage, I’m seeing this in its postgres log:


LOG:  database system was interrupted; last known up at 2025-07-27 10:46:10 UTC
LOG:  invalid primary checkpoint record
PANIC:  could not locate a valid checkpoint record

Is there anything I could do to try fixing it, or is this a restore a backup situation?

Probable solution is described here: https://stackoverflow.com/questions/8799474/postgresql-error-panic-could-not-locate-a-valid-checkpoint-record . But anyway here is risk of data loss; be careful.