This question has been flagged
1 Reply
2060 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

Avatar
Discard
Best Answer

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

Avatar
Discard