# Every time the administrator restores a backup, this always appears: Outgoing email has been disabled for non-staff users

**URL:** https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519
**Category:** Support
**Tags:** email, backups
**Created:** [December 10, 2024, 5:45am UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519 "2024-12-10T05:45:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![qiancsf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qiancsf/32/346860_2.png) [@qiancsf](https://meta.discourse.org/u/qiancsf)
#### Post date: [December 10, 2024, 5:45am UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519/1 "2024-12-10T05:45:40Z")

</div>

Every time the administrator restores a backup, this always appears: Outgoing email has been disabled for non-staff users  
(But it was set to: disable emails：NO）

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/b/2/eb214c16f4642d0ef78b22455188149d009da889.png)

管理员每次恢复备份后，老是出现这个:  
Outgoing email has been disabled for non-staff users  
﻿  
（但在备份前已设置为：disable emails：NO）

---

<div class="post-metadata">

### Author: ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)
#### Post date: [December 10, 2024, 6:01am UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519/2 "2024-12-10T06:01:18Z")

</div>

This is intentional. I suppose, to prevent users to be spammed with unintended mails when restoring a backup to a staging site.

You have to change the config option `disable emails` by hand.

Except for updating a staged site, can one assume that the frequency of restores is rare?  
For cases of automatic restores, such as when synchronizing a staging instance, these configuration values can also be set via a script.

---

<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: [December 10, 2024, 2:38pm UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519/3 "2024-12-10T14:38:07Z")

</div>

> [@qiancsf](#):
>
> Every time the administrator restores a backup, this always appears: Outgoing email has been disabled for non-staff users

This is a fantastic feature. The likelihood that you don’t want to send emails to every single person in your database after you restore a backup without at least checking on a thing or two is very, very high.

> [@qiancsf](#):
>
> （但在备份前已设置为：disable emails：NO）

If you mean that was the value before restored the backup then that is what is expected.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 9, 2025, 2:38pm UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519/4 "2025-01-09T14:38:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
