Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoring db dump is failing #13

Open
svedbg opened this issue May 27, 2021 · 0 comments
Open

Restoring db dump is failing #13

svedbg opened this issue May 27, 2021 · 0 comments

Comments

@svedbg
Copy link

svedbg commented May 27, 2021

When trying to restore the db_scripts/create_empty_db.sql in postgres it's failing with following error:

[utmadmin@castrac7vm db_scripts]$ /usr/pgsql-11/bin/pg_restore -U utmadmin -d utm_dev -1 /home/utmadmin/project/dronfiesuss/db_scripts/create_empty_db.sql 
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 10; 2615 17824 SCHEMA topology postgres
pg_restore: [archiver (db)] could not execute query: ERROR:  must be member of role "postgres"
    Command was: ALTER SCHEMA topology OWNER TO postgres;

Why topology needs postgres?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant