Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to get database backup daily in openerp v7.0

By
GG
on 1/28/14, 4:23 AM 1,146 views

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 !!

0

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 1/28/14, 8:40 AM

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

GG
on 1/28/14, 9:21 AM

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)

Rafael Reuber
on 1/28/14, 10:52 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/28/14, 4:23 AM
Seen: 1146 times
Last updated: 3/16/15, 8:10 AM