تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3392 أدوات العرض

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. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 19
2204
9
يوليو 25
64656
how to backup ? تم الحل
9
يوليو 24
97874
0
أبريل 24
1786
4
نوفمبر 23
5834