Odoo Help


how to backup ?

rakhmat dp
on 5/4/15, 10:03 AM 2,091 views

excuse me, I am new in this field ,

how to make a backup of the database on odoo_8.0 ??

whether someone who can answer ?

Thank you


On 5/4/15, 10:34 AM

Hi rakhmat,
You have four options.

  • Take a dump through the webinterface, via the URL:

    Then click on "Backup database", you can take a dump from there.
  • Use a back-up module, as you can find here. This module is made by me so if you need help, let me know.
  • Take a dump through the terminal, via pg_dump.

    pg_dump db_name

  • Take a dump through XML-RPC.

     def get_db_list(self, cr, user, ids, host='localhost', port='8069', context={}):
            uri = 'http://' + host + ':' + port
            conn = xmlrpclib.ServerProxy(uri + '/xmlrpc/db')
            db_list = execute(conn, 'list')
            return db_list

upvote for xmlrpc option ;)

on 5/4/15, 10:57 AM

Thanks Temur! :) I think its a handy option if you wish to work with automated back-ups!

on 5/4/15, 11:29 AM
On 5/7/15, 1:28 PM

i backup

Going to "My odoo.com Account" then click "Manage My Organizations", then "Backup"

rakhmat dp
On 5/4/15, 7:10 PM

Thank you buddy,

for all the answers useful ,

greetings ^ - ^


On 5/4/15, 10:25 AM

AFAIK there is no particular way for odoo. You can backup database using pg_dump (see here) or any other postgresql specific way. 


if you mean backup from user interface, then there is backup option at /web/database/manager page in odoo. The "Database Management/Backup"

http://yoururl.com:8069/web/database/manager has support for taking dumps from the webinterface.

on 5/4/15, 10:33 AM

Thanks Yenthe, I've updated answer. But this way allows only manual backup, that's why I don't consider it as option. gp_dump way may be easily automated using some tools (cron etc.).

on 5/4/15, 10:41 AM

Yeah there are actually 3 options really. I'll expand my answer too.

on 5/4/15, 10:43 AM

I've not seen if you've separated answer, I thought you just commented here, that's why I've updated my answer with you option.. :) BTW the xmlprc option needs to adapt a bit? it seems that function is for gather database list?

on 5/4/15, 10:57 AM

Correct, this function calls the database list and from there on you need to carry on. You can find all the code here: https://github.com/Yenthe666/auto_backup/tree/8.0/auto_backup my module does this exactly.

on 5/4/15, 11:28 AM

does this module includes filestore backup?

on 5/4/15, 11:43 AM

Yep! It generates a .dump file which has an SQL file and everything from the filestore is also in the dump file.

on 5/4/15, 1:28 PM
sameer alhwety
On 5/4/15, 10:39 AM

You  use xmlrpc or from link with /web/database/manager

Ankit H Gandhi(AHG)
On 5/4/15, 10:34 AM

Hello Rakhmat,

Please refer below link it will be help you.



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

2 follower(s)


Asked: 5/4/15, 10:03 AM
Seen: 2091 times
Last updated: 5/12/15, 1:23 PM