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

How to backup database V9

By
Benoît Vézina
on 3/30/16, 1:47 PM 589 views

Hi,


Using the Odoo Docker I am facing an issue when I try to backup the database manager backup option I got that error. 

Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpqNgSDv/dump.sql', u'gjacques') error 1

I have try it on many Odoo setup and stil get the same error every time

Any hint or do I have to go in my postgres container and pg_dump it my self

Thank you 

0
Dominic
On 4/4/16, 11:10 AM

Hi, 


Well, I am not familiar with type of error. What you can do in order to backup your Database is create directory mount between your docker Container and your local filesystem. Then you can easily backup your Database folder. 


PS: Don' forget to backup your odoo files in the same moment, otherwise you will have problems with consistency. You can mount this directory as well.

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: 3/30/16, 1:47 PM
Seen: 589 times
Last updated: 4/28/16, 8:35 AM