# How can I run multiple rake posts:remap at once?

**URL:** <https://meta.discourse.org/t/how-can-i-run-multiple-rake-posts-remap-at-once/264920>\
**Category:** Self-hosting\
**Created:** [May 13, 2023, 10:34pm UTC](https://meta.discourse.org/t/how-can-i-run-multiple-rake-posts-remap-at-once/264920 "2023-05-13T22:34:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [May 14, 2023, 12:11am UTC](https://meta.discourse.org/t/how-can-i-run-multiple-rake-posts-remap-at-once/264920/2 "2023-05-14T00:11:28Z")

</div>

If it’s not too late (your forum has not yet gone live and people are not yet adding new data), your want to do that in your import script. Just wipe the database and start again.

If it is too late (you’ve already launched your forum in discourse) you’ll want to do it in rails. It’s too hard to do it in a take task because of figuring out all the layers of escaping special characters.

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-run-multiple-rake-posts-remap-at-once/264920)._
