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

Hi

I need to restore a .dump backup file, but I cant do it using openerp v7's web interface, since it always crashes my local server.

How can I restore the dump file using command line?

Please describe it step by step.

Thanks a lot, regards

아바타
취소
베스트 답변

 

The exact format of the commands that Odoo uses for backup and restore is below.

For backup

pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>

For restore:

pg_restore --no-owner --dbname=<>

 

아바타
취소

and how to say whats the new database name and then load this dump in?

관련 게시물 답글 화면 활동
3
1월 22
4911
1
4월 25
952
Odoo Database error 해결 완료
1
12월 21
10336
1
2월 19
15361
1
3월 15
3912