Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9057 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
6073
3
thg 8 24
6919
4
thg 7 24
41238
5
thg 4 23
99027
3
thg 11 22
4342