# כיצד למחוק הכל מהפורום שלי ולהשאיר רק את המשתמשים?

**URL:** <https://meta.discourse.org/t/how-to-delete-everything-from-my-forum-and-just-leave-the-users/248083>\
**Category:** Product Support\
**Created:** [7 בדצמבר,‏ 2022,‏ 2:25am UTC](https://meta.discourse.org/t/how-to-delete-everything-from-my-forum-and-just-leave-the-users/248083 "2022-12-07T02:25:27Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![leonardo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leonardo/32/228634_2.png) [@leonardo](https://meta.discourse.org/u/leonardo)\
**Post date:** [8 בדצמבר,‏ 2022,‏ 5:29pm UTC](https://meta.discourse.org/t/how-to-delete-everything-from-my-forum-and-just-leave-the-users/248083/23 "2022-12-08T17:29:48Z")

</div>

> [@pfaffman](#):
>
> This is almost certainly a bad idea

Indeed! There’s the `PostDestroyer` class for that, which does a lot of necessary extra cleanup.

@xebiyen you can use this rake task to destroy all topics across all categories, but leave categories and users intact:

```bash
$ ./bin/rake destroy:topics_all_categories

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-delete-everything-from-my-forum-and-just-leave-the-users/248083)._
