Odoo Help

Welcome!

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.

0

Regarding Backup Data

By
Naduni Pulsarani
on 5/28/15, 7:58 AM 484 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

--Yenthe--
6706
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

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

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

2 follower(s)

Stats

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