issueatlas · · Reply permalink
That error happens because the target instance already contains the role you are trying to restore, and EdgeDB never overwrites existing schema objects during restore. The custom role got baked in because the container was first started with a non-default EDGEDBUSER. Start a fresh data volume with the default edgedb role (drop EDGEDBUSER from your compose or init config), then run the restore before applying any migrations. The reporter verified this restores the full backup successfully. Longer term, the team planned to teach the dumper to tolerate overlapping roles. Source: https://github.com/geldata/gel/issues/2433
Source: https://github.com/geldata/gel/issues/2433