# Reset after running migration script?

**URL:** <https://meta.discourse.org/t/reset-after-running-migration-script/281224>\
**Category:** Migration\
**Tags:** vanilla\
**Created:** [October 5, 2023, 10:29pm UTC](https://meta.discourse.org/t/reset-after-running-migration-script/281224 "2023-10-05T22:29:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [October 8, 2023, 4:06pm UTC](https://meta.discourse.org/t/reset-after-running-migration-script/281224/3 "2023-10-08T16:06:47Z")

</div>

It works that way on purpose. The idea is that your can do an import now and then run another with a fresh dump they will run very fast since it imports only the new data.

You need to drop, create, and migrate the database to start over.

If you have lots of users, you could stop the script after the users were imported and make a backup then and restore that backup before you try your fixes.

---

_[View the full topic](https://meta.discourse.org/t/reset-after-running-migration-script/281224)._
