# Is there a way to remove all the deleted/hidden posts?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-remove-all-the-deleted-hidden-posts/70122>\
**Category:** Product Support\
**Created:** [15 בספטמבר,‏ 2017,‏ 2:59pm UTC](https://meta.discourse.org/t/is-there-a-way-to-remove-all-the-deleted-hidden-posts/70122 "2017-09-15T14:59:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)\
**Post date:** [17 באוקטובר,‏ 2018,‏ 9:11pm UTC](https://meta.discourse.org/t/is-there-a-way-to-remove-all-the-deleted-hidden-posts/70122/5 "2018-10-17T21:11:43Z")

</div>

> [@dax](#):
>
> Well, deleted posts are not completely deleted, they are always visible for admins.
> 
> So the answer is no, unless you go to put your hands on the database. Probably you can do it by the rails console, but is it so essential to delete something that is visible only to you or your admins?

Is there in the meantime a way to really delete “deleted posts” from the database?

We have gotten our first GDPR hearing from the German authorities ☹  
The hearing is not related to our discourse forum since the person due to which the German authorities got involved did as far as I know not have a login in our discourse forum, but it is related to other of our systems.  
Nevertheless I would really like to be on the safe side by deleting these kind of posts from the database. I think it is not GDPR compliant that an admin could view and even restore deleted posts that were deleted months, weeks and even years ago. I do see deleted posts which were deleted more 17 months ago with the start of the forum and I as an admin could even restore them.

Is there no background job which could for example delete “deleted posts” from the database which have been deleted more then a month ago (a configurable time frame)?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-remove-all-the-deleted-hidden-posts/70122)._
