DISCOURSE MIGRATION

Move the community. Keep the history.

RailsDen can import an official Discourse backup into a fresh PostgreSQL RailsDen application.

# From the new RailsDen application:
$ bin/rails rails_den:import:discourse \
  /path/to/discourse-backup.tar.gz

✓ Import supported community data
✓ Preserve community history
✓ Move into Rails
THE MIGRATION

Three steps.

STEP 01

Create RailsDen

Start with a fresh standalone RailsDen application using PostgreSQL before creating community content.

STEP 03

Run the importer

Give RailsDen the backup archive and let the importer transform the supported community data into RailsDen.

WHAT MOVES

Bring the important parts with you.

The RailsDen Discourse importer supports users, categories, boards, topics, posts, staff roles, uploads, and avatars.

The result is native RailsDen data inside the new Rails application, not a permanent dependency on the old Discourse installation.

DATABASE

PostgreSQL required

The Discourse importer requires PostgreSQL. RailsDen's standalone generator uses PostgreSQL by default, so the normal migration path already starts with the required database.

ACCOUNTS

Passwords may need to be reset

Imported members may need to establish or reset their password before signing in to the new RailsDen application.

AFTER THE IMPORT

Your community is now a Rails app.

Explore RailsDen Features