Odoo Help

1

Is a database dump the same as a backup? Is it done from within OpenERP or at a command prompt?

By
Allan Lindquist
on 10/29/13, 10:19 AM 2,262 views

Is a database dump the same as a backup? Is it done from within OpenERP or at a command prompt? There is a command in PostgreSQL 9.3 bin directory pg_dump is this the command used?

2

Ray Carnes

--Ray Carnes--
16818
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/29/13, 2:56 PM

Yes.

It is done via the Manage Databases link on the login page.

What actually happens is that OpenERP calls the relevant PostgreSQL commands. The exact format of the commands that OpenERP uses for backup and restore is below.

For backup

pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>

For restore:

pg_restore --no-owner --dbname=<>

... and you can even pipe pg_dump with pg_restore to replicate a test environment from a production one.

Daniel Reis
on 10/29/13, 6:02 PM

I cannot find the Manage Database link in the online verion?

DataHome
on 1/4/14, 4:40 PM

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

1 follower(s)

Stats

Asked: 10/29/13, 10:19 AM
Seen: 2262 times
Last updated: 3/16/15, 8:10 AM