콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3405 화면

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
5월 19
2207
9
7월 25
64688
how to backup ? 해결 완료
9
7월 24
97941
0
4월 24
1806
4
11월 23
5843