# عند استعادة نسخة احتياطية، سيتم تعيين "تعطيل البريد الإلكتروني" إلى غير موظف من لا

**URL:** <https://meta.discourse.org/t/when-restoring-a-backup-the-disable-email-will-be-set-to-non-staff-from-no/115143>\
**Category:** Bug\
**Created:** [15 أبريل 2019، 6:42م UTC](https://meta.discourse.org/t/when-restoring-a-backup-the-disable-email-will-be-set-to-non-staff-from-no/115143 "2019-04-15T18:42:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [15 أبريل 2019، 7:15م UTC](https://meta.discourse.org/t/when-restoring-a-backup-the-disable-email-will-be-set-to-non-staff-from-no/115143/2 "2019-04-15T19:15:58Z")

</div>

Ahh! I think that I’ve seen that but thought it was my imagination.

I can’t tell when the feature got added, but if you don’t want to disable emails, it can be set via an option, but by default it set disable\_email to “non-staff”.

> <https://github.com/discourse/discourse/blob/main/script/discourse#L109>

> <https://github.com/discourse/discourse/blob/main/lib/backup_restore/restorer.rb#L32>

This is a fantastic feature. It is pretty rare that I want to restore a backup and have it immediately start spewing mail.

---

_[View the full topic](https://meta.discourse.org/t/when-restoring-a-backup-the-disable-email-will-be-set-to-non-staff-from-no/115143)._
