コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9041 ビュー

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...?


アバター
破棄
最善の回答

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
アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
12月 24
6044
3
8月 24
6895
4
7月 24
41203
5
4月 23
98950
3
11月 22
4326