# Migrate a phpBB3 forum to Discourse

**URL:** https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [July 5, 2015, 10:02pm UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810 "2015-07-05T22:02:57Z")
**Posts on this page:** 1
**Showing post:** 367

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 19, 2018, 8:37pm UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/367 "2018-06-19T20:37:21Z")

</div>

Hi,  
Thank you for your quick reply.

> [@pfaffman](#):
>
> I’m not quite clear what you’re trying to do

On phpbb I had a category A and a category B.  
After my import on Discourse, I had a category A, a category B, then I moved all topics from A and B to a new category C, and I deleted my categories A and B.  
I want to re-create my categories A and B (which is done in seconds), and get back my C topics in their original A and B categories. I can’t do this manually by selecting each topic one by one on hundred topics.  
I don’t want to do this on my whole forum, it’s “just” hundreds of topics on several thousand.

> [@pfaffman](#):
>
> Deleting the topics doesn’t really delete them, so they won’t get re-imported.

Uh… 😭 Even by some rails command? 🤔  
Any risk removing posts from the database directly? The Discourse forum isn’t active yet, no user activity at all.  
After having imported from phpbb, besides configuring stuff, no topics or replies were posted etc.

I also don’t want to do a full re-import because I spent so much time configuring stuff since my import.

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)._
