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

Hi, when I'm using this backup script : https://www.odoo.com/de_DE/forum/how-to/installation-12/how-to-setup-a-regular-postgresql-database-backup-4728

8

Im getting this error:

Stopping odoo: ok

pg_dump: [archiver (db)] connection to database "giordano_init" failed: FATAL: role "root" 

Starting odoo: ok



What am I doing wrong?

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

I fix the issue

pg_dump -U odoo -E UTF-8 -p 5432 -F p -b -f $filename $db


with this command it works! finally

Ảnh đại diện
Huỷ bỏ

the "-U odoo" makes it work. You have to specify the proper postgres user in order to access the dabase.

Câu trả lời hay nhất

Try changing root with postgre and see if it works. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 19
2264
9
thg 7 25
64866
how to backup ? Đã xử lý
9
thg 7 24
98286
0
thg 4 24
1841
4
thg 11 23
5889