Odoo Help


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.


Make a full backup of odoo on development server

on 4/3/16, 3:14 PM 397 views

Hello everyone  please i want to know if there a method to make a full backup of odoo 9 on development server ubuntu v 15.04


i want to make a full backup including ( Python, QWeb, JavaScript et XML, ) 

on 4/3/16, 5:32 PM

Are you looking for a full backup of the server or backups of the different tenants (databases including their filestores)?

Ermin Trevisan
on 4/4/16, 2:42 AM
Gregor Rosenauer
On 4/3/16, 4:39 PM

in case you are talking about the database, which is what should really matter (else do a normal system backup or use a dockerfile...), you have several choices:

  1. use the integrated database backup (under "manage databases" on the login screen)

  2. use the promising (but sadly not working for me) auto_backup module from https://www.odoo.com/apps/modules/9.0/auto_backup/

  3. use a custom script (ideally triggered from cron) that backs up the database, like:

    /usr/bin/pg_dump -U <dbuser> --host localhost --format custom --blobs <dbname> > $filename

    bzip2 $filename
    for this to work, you'll need a .pgpass file in the home directory of the user doing the backup (in case of cron, it should be in /root), with the following content:


Only (1) will backup the filestore (a set of files stored outside the database, including website and attachments) necessary for everything to work properly. The filestore can be found in the home folder of the user (or service) who is running the Odoo server at .local/share/odoo

Bista Solutions US, Ray Carnes
on 4/3/16, 8:43 PM

Ray: auto_backup does also backup the filestore.

Ermin Trevisan
on 4/4/16, 2:38 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)


Asked: 4/3/16, 3:14 PM
Seen: 397 times
Last updated: 4/6/16, 5:43 AM