Odoo Help


Automatic backup OpenERP 7 on Ubuntu distribution

Yassine TEIMI
on 11/17/14, 6:52 PM 1,273 views

Could some show me the right way to do it, I heard about crontab option, but I don't know how to implement on my server. 


for crontab option see page: Settings/Technical/Scheduler/Scheduled Actions

on 11/18/14, 2:00 AM

backup of database and files?

on 11/18/14, 2:44 AM



| 5 3 6
Jakarta, Indonesia
On 11/18/14, 3:22 AM

Crontab is a Linux/UNIX tools to run a command on specific schedule(s).  You can search to find how it can be admininstered, this link is one of the example.

The menu Settings/Technical/Scheduler/Scheduled Actions that Temur had mentioned provides you a way to schedule something withint Odoo/OpenERP.  But AFAIK, it is not the right tool to choose if you want to do backup.

Now, you need to have something to be run by the crontab.  To back-up database, you need to run pg_dump from command line.  You can find manual for pg_dump in this link.  To back-up files (file system), you can use various tools, simplest would be a tar-compression combinantion like explained in this link.

I meant he already knows about crontab in Unix/Linux, I just wanted to notice that odoo/Openerp also has it's own cron, that makes it possible to schedule some actions. moreover cron of openerp is supposed to be cross-platform, if you'll schedule automated actions with it, it does not restricts you to be on Linux platform. Also you can use this cron to run some external commands with really small python code, including "pg_dump" or any tool of your choice for backup or whatever.

on 11/21/14, 4:50 AM
On 11/18/14, 6:02 AM


Have tried this http://gegonotes.com/how-to-backup-openerp-databases-automatically/

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 11/17/14, 6:52 PM
Seen: 1273 times
Last updated: 3/16/15, 8:10 AM