First time here? Check out the FAQ!

How to import SE dump into Askbot?

What is the current method to import STACKEXCHANGE site into Askbot?

How long will the process take?

What is imported and what is lost?

Evgeny's avatar
updated 2010-04-15 01:06:57 -0500, asked 2010-04-14 23:47:46 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


It's a bit of a long explanation, but the nice part is that almost everything is imported: all revisions, votes, badges, reputation history, etc.

The process runs quite slow - for a few hundred questions it may take 10 or 15 minutes. It will hopefully (we'll try hard) improve by the time your SE contract expires, so no worries.

User profile preferences are currently lost and milliseconds in the timestamps :).

Install Askbot

Use git to get the source:

git clone git:// yousitename

Or just download the tar or zip file here.

Please choose some distinct name for "yoursitename" for the destination directory. Do not call it test, forum or anything else suspiciously non-descript - that's because some python modules might use that name and you might get strange errors.

For now please do use "master" branch (it's checked out by git or download automatically), or use the other one if you are OK with experimenting (experimental branch with the new interface has full text search disabled - will be merged after the fix in about a week - don't give up on askbot :)

Open file and delete the # character before 'stackexchange':


This is the first extra instruction in addition to what's in INSTALL (there are only two extra steps). This one will add SE loader application to the list of installed apps.

Follow instructions in file INSTALL.

Minimally you'll need to


enter database type, password and user name, and set up other details thereafter.

Double-check that the thing works in the Django development server. For *nix command is:

python runserver `hostname -i`:8989

8989 - is a port number - on Unix systems you can usually pick any number > 1024 unless you have superuser privilege.

After that for production you will need to configure the webserver, details for Apache are described here.

SE dump read

unzip your dump into some directory, say my-se-dump

then run (the second extra instruction)

python load_stackexchange my-se-dump

Hopefully that will be all - I've tested this on MySQL only.

You have any difficulties - please by all means drop a note right here.

Yep it is a bit dorky at the moment - will be fixed way before your SE site expires :).

Also if you trust me - you can send the dump to and I'll import it for you.


Evgeny's avatar
updated 2010-04-15 17:40:22 -0500, answered 2010-04-15 00:47:17 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments