# Does the XenForo to Discourse Converter also imports password?

**URL:** https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647
**Category:** Self-hosting
**Created:** [2 september 2016 om 19:51 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647 "2016-09-02T19:51:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![RoldanLT](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RoldanLT](https://meta.discourse.org/u/RoldanLT)
#### Post date: [2 september 2016 om 19:51 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/1 "2016-09-02T19:51:23Z")

</div>

What is the complete list of data it will retain or import from XenForo?  
Thanks!

---

<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: [2 september 2016 om 21:43 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/2 "2016-09-02T21:43:52Z")

</div>

It does not import passwords.

Here’s what it pulls from the user field. You can have a look a the code [here](https://github.com/discourse/discourse/blob/master/script/import_scripts/xenforo.rb). Even if you are not a programmer, you might be able to glean what is imported by looking at the names of the fields. For example:

```plaintext
       "SELECT user_id id, username, email, custom_title title, register_date created_at,
                last_activity last_visit_time, user_group_id, is_moderator, is_admin, is_staff

```

lets you see what gets pulled out of the XenForo database.

You might check out [this thread](https://meta.discourse.org/t/handling-user-passwords-when-importing-from-another-forum-software/29324/3), which describes a migrate-password plugin and how to write (or modify) an importer to migrate the passwords.

If you’d like someone to modify the XenFro importer, you can make an offer in the #Marketplace.

---

<div class="post-metadata">

### Author: ![RoldanLT](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RoldanLT](https://meta.discourse.org/u/RoldanLT)
#### Post date: [20 november 2016 om 22:51 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/4 "2016-11-20T22:51:25Z")

</div>

How about the Attachments?  
and redirecting old XenForo urls?

---

<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: [21 november 2016 om 03:24 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/5 "2016-11-21T03:24:35Z")

</div>

I don’t think it does attachments or redirects.

---

<div class="post-metadata">

### Author: ![RoldanLT](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RoldanLT](https://meta.discourse.org/u/RoldanLT)
#### Post date: [21 november 2016 om 06:13 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/6 "2016-11-21T06:13:18Z")

</div>

That’s very sad :-(.

---

<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: [21 november 2016 om 10:06 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/7 "2016-11-21T10:06:24Z")

</div>

It shouldn’t be too difficult to solve that problem. This is your opportunity to make the world a better place! 😄

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [21 november 2016 om 13:50 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647/8 "2016-11-21T13:50:53Z")

</div>

Continued here:

> [@Migrate a XenForo forum to Discourse](https://meta.discourse.org/t/importing-xenforo-to-discourse/45232):
>
> Hey guys so after trying for a week or so I decided to import the database on docker app which I hoped it will succeed without any issues. TBH I got some issues at first but it turned to be all easy to solve. Now I would recommend doing this only once before you deploy your production site, after importing everything take a Discourse backup, wipe everything out and install new Discourse instance then restore the imported db. Ok let’s begin: First lets backup your old database from your old …
