Re importing data after migration

(Ricardo Viteri) #1

Continuing the discussion from After migrating from Vanilla all users display a random post in their '“about me” section:

@zogstrip, Is it possible to re-import and replace all forum data or would a new install be required ?

How to execute db:drop db:create db:migrate?
(Régis Hanol) #2

Imports are resumable so if you want a brand new forum. you first need to drop the database and create a new one.

(Ricardo Viteri) #3

Can you tell me how to do this? What commands I need to execute?


(Régis Hanol) #4

Here’s the command you can execute if you want to reset your database: bundle exec rake db:drop db:create db:migrate.

(Ricardo Viteri) #5

Great. So as I understand it, I would execute this command and then follow the importer instructions. Am I right?

(Régis Hanol) #6

:point_up: Exactly :point_up: