Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3891 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang

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

Jawaban Terbai

Try changing root with postgre and see if it works. 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mei 19
2705
9
Jul 25
66552
how to backup ? Diselesaikan
9
Jul 24
102196
0
Apr 24
2421
4
Nov 23
6596