Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
9058 Ansichten

When I installed odoo 9, I created a user named odoo(not a superuser). Using this user I can create and delete the database.

But when I am trying to back up my database, it shows no owner pg_dump. I am little confused about this situation. I tried to change the privilege of odoo user to superuser using the command "alter user 'odoo' with superuser"; but it does not alter the role. 

How can I give all privileges to my odoo user-backup, restore etc...?


Avatar
Verwerfen
Beste Antwort

Please update your question by explaining the method of backup, through a query or using third party application? If you are using a query then please pass user credentials as params.

for example:

pg_dump [dbname] -U username --role=rolename filename
Avatar
Verwerfen
Autor

I had back up my database through odoo interface.

okay set admin_passwd in the conf file and update the security Postgres for odoo user in pg_hba file accordingly

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Dez. 24
6075
3
Aug. 24
6921
4
Juli 24
41239
5
Apr. 23
99027
3
Nov. 22
4344