İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3485 Görünümler

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?

Avatar
Vazgeç
Üretici En İyi Yanı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

Avatar
Vazgeç

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

En İyi Yanıt

Try changing root with postgre and see if it works. 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 19
2312
9
Tem 25
65073
how to backup ? Çözüldü
9
Tem 24
98748
0
Nis 24
1878
4
Kas 23
6002