# Corrupted item pointer during backup process

**URL:** <https://meta.discourse.org/t/corrupted-item-pointer-during-backup-process/151680>\
**Category:** Self-hosting\
**Created:** [May 16, 2020, 10:14am UTC](https://meta.discourse.org/t/corrupted-item-pointer-during-backup-process/151680 "2020-05-16T10:14:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![RikoDEV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rikodev/32/126446_2.png) [@RikoDEV](https://meta.discourse.org/u/RikoDEV)\
**Post date:** [May 17, 2020, 4:55pm UTC](https://meta.discourse.org/t/corrupted-item-pointer-during-backup-process/151680/7 "2020-05-17T16:55:59Z")

</div>

TRUNCATE works, thanks. 😄. I will now check if the backup is successful.

EDIT:

Oh no ☹ !

```plaintext
[2020-05-17 16:56:39] pg_dump: Dumping the contents of table "post_search_data" failed: PQgetResult() failed.
[2020-05-17 16:56:39] pg_dump: Error message from server: ERROR: invalid page in block 89 of relation base/16384/22213
[2020-05-17 16:56:39] pg_dump: The command was: COPY public.post_search_data (post_id, search_data, raw_data, locale, version) TO stdout;
[2020-05-17 16:56:39] Unpausing sidekiq...
[2020-05-17 16:56:39] EXCEPTION: pg_dump failed
[2020-05-17 16:56:39] /var/www/discourse/lib/backup_restore/backuper.rb:183:in `dump_public_schema'

```

EDIT 2 🎉

Fixed using [https://stackoverflow.com/questions/5220344/postgresql-invalid-page-header-in-block](https://stackoverflow.com/questions/5220344/postgresql-invalid-page-header-in-block).

---

_[View the full topic](https://meta.discourse.org/t/corrupted-item-pointer-during-backup-process/151680)._
