# Restoring from backup failed with ERROR: must be superuser to create an operator family

**URL:** <https://meta.discourse.org/t/restoring-from-backup-failed-with-error-must-be-superuser-to-create-an-operator-family/29385>\
**Category:** Self-hosting\
**Created:** [2015 年5 月 28 日 21:23 UTC](https://meta.discourse.org/t/restoring-from-backup-failed-with-error-must-be-superuser-to-create-an-operator-family/29385 "2015-05-28T21:23:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

作者： ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
发布日期： [2015 年5 月 29 日 12:44 UTC](https://meta.discourse.org/t/restoring-from-backup-failed-with-error-must-be-superuser-to-create-an-operator-family/29385/8 "2015-05-29T12:44:22Z")

</div>

I would extract the `dump.sql` file from the backup, comment out the line/s that is/are creating an operator family and overwrite the `dump.sql` file back in the backup.

---

_[View the full topic](https://meta.discourse.org/t/restoring-from-backup-failed-with-error-must-be-superuser-to-create-an-operator-family/29385)._
