# DB corrupted after Linode outage?

**URL:** https://meta.discourse.org/t/db-corrupted-after-linode-outage/376350
**Category:** Support
**Tags:** postgres
**Created:** [July 29, 2025, 7:19am UTC](https://meta.discourse.org/t/db-corrupted-after-linode-outage/376350 "2025-07-29T07:19:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [July 29, 2025, 7:19am UTC](https://meta.discourse.org/t/db-corrupted-after-linode-outage/376350/1 "2025-07-29T07:19:09Z")

</div>

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

```plaintext

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?

---

<div class="post-metadata">

### Author: ![lubezniy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lubezniy/32/137694_2.png) [@lubezniy](https://meta.discourse.org/u/lubezniy)
#### Post date: [July 29, 2025, 6:36pm UTC](https://meta.discourse.org/t/db-corrupted-after-linode-outage/376350/2 "2025-07-29T18:36:53Z")

</div>

Probable solution is described here: [https://stackoverflow.com/questions/8799474/postgresql-error-panic-could-not-locate-a-valid-checkpoint-record](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.
