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

Try deleting the CREATE OPERATOR FAMILY line and doing it again.