# Suspend all users apart from admin users for development copy

**URL:** <https://meta.discourse.org/t/suspend-all-users-apart-from-admin-users-for-development-copy/113317>\
**Category:** Product Support\
**Created:** [April 3, 2019, 7:58am UTC](https://meta.discourse.org/t/suspend-all-users-apart-from-admin-users-for-development-copy/113317 "2019-04-03T07:58:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![chrisc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisc/32/119982_2.png) [@chrisc](https://meta.discourse.org/u/chrisc)\
**Post date:** [April 3, 2019, 7:58am UTC](https://meta.discourse.org/t/suspend-all-users-apart-from-admin-users-for-development-copy/113317/1 "2019-04-03T07:58:17Z")

</div>

I’m looking at the steps to take to create a development copy of a busy Discourse site that can be used for training and testing by administrators but which won’t send any emails to non-administrators.

Am I correct in understanding that if all non-administrators are [suspended](https://meta.discourse.org/t/description-of-various-user-states-in-discourse/35171) then this would have the result I’m after?

And if this would work can anyone point me in the right direction for how to do this using the rails console?

---

_[View the full topic](https://meta.discourse.org/t/suspend-all-users-apart-from-admin-users-for-development-copy/113317)._
