# Repairing damaged post\_search\_data (unable to create database dumps and execute search reindex)

**URL:** <https://meta.discourse.org/t/repairing-damaged-post-search-data-unable-to-create-database-dumps-and-execute-search-reindex/57046>\
**Category:** Self-hosting\
**Created:** [7. Februar 2017 um 09:08 UTC](https://meta.discourse.org/t/repairing-damaged-post-search-data-unable-to-create-database-dumps-and-execute-search-reindex/57046 "2017-02-07T09:08:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![skriesch](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@skriesch](https://meta.discourse.org/u/skriesch)\
**Post date:** [7. Februar 2017 um 09:08 UTC](https://meta.discourse.org/t/repairing-damaged-post-search-data-unable-to-create-database-dumps-and-execute-search-reindex/57046/1 "2017-02-07T09:08:42Z")

</div>

The table post\_search\_data is damaged. I tried to repair it on different ways:

1. using **rake search:reindex** :  
Output:

2. Reindex in the Postgres database:

3. Removing the table post\_search\_data, excluding it of the last working dump, restoring it in the discourse database and executing the reindex:

`-> same like above`

1. Trying to remove damaged entries with:

At first the database is saying it would be removed. But they exist after a short time of waiting.

What can we do that we can get new backups of the complete database?

---

_[View the full topic](https://meta.discourse.org/t/repairing-damaged-post-search-data-unable-to-create-database-dumps-and-execute-search-reindex/57046)._
