Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3401 มุมมอง

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?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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

คำตอบที่ดีที่สุด

Try changing root with postgre and see if it works. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 19
2204
9
ก.ค. 25
64676
how to backup ? แก้ไขแล้ว
9
ก.ค. 24
97904
0
เม.ย. 24
1793
4
พ.ย. 23
5840