Odoo Help

0

Regarding Backup Data

By
Naduni Pulsarani
on 5/28/15, 7:58 AM 712 views

I researched so many links to find out how to backup data and migrate to Odoo. I didn't find any links regarding that. I need to know for Windows.  

And also I need to find out how to transfer the data over

1
Yenthe
On 5/28/15, 10:42 AM

Hi Naduni,

If you're talking about literally backing up your database.. I've made a custom module (tool) for this. You can download it here: https://www.odoo.com/apps/modules/8.0/auto_backup/
I've also written a blog post with guide about how to use my module here: http://www.odoo.yenthevg.com/automated-backups-in-odoo/ 

In general you have four ways to take backups:

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

    http://www.yourweburl.com:8069/web/database/manager
    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

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.

Register

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)

Stats

Asked: 5/28/15, 7:58 AM
Seen: 712 times
Last updated: 5/28/15, 11:58 PM