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

I need to achieve the database backup at particular time everyday in version 7.0 ? Do anyone know how to proceed this?

Thanks in Advance !!

아바타
취소
베스트 답변

If you work with a Linux server you should schedule your backup with cron

http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

the job you have to schedule is something like this:

sudo -u openerp pg_dump <name of="" the="" database=""> > backup_file.sql

Hope this helps

아바타
취소
작성자

I found a link which was related to this question. http://help.openerp.com/question/8899/how-do-i-automate-database-backups/ I also tried the python script mentioned in the link, but it does'nt work

1) You could use http://www.postgresql.org/docs/9.0/static/continuous-archiving.html (Continuous Archiving) Postgres feature.

2) There is a the http://www.pgbarman.org/ (pgBarman project)

관련 게시물 답글 화면 활동
4
7월 24
33918
1
11월 23
4225
2
4월 22
2895
1
8월 19
8969
2
10월 16
6758