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

DB Restore error message

By
Lars
on 3/6/14, 3:06 PM 2,734 views

I have been using the built in DB backup/restore interface in OE for the last 9 months with no problems. My main application is in LINUX and my backup application is running on a Windows servers. Up to now I have used the built in backup function to create the dump file and I have restored it on my windows application to test it.

Now for no obvious reason I get an error message in a small window in the center of the screen stating "Restore Database Could not restore database OK" At the same time I see the text I am used to see up in the right corner "Restored Database restored"

At this point I can not restore any of the backups that I have been able to restore in the past.

Does anyone have any idea what have happened? I have not done any changes to the install as far as I know.

This DB is in which format. like .sql or .dump or .backup,

sridhar
on 3/7/14, 12:46 AM

The DB is in .DUMP format ( the built in way)

Lars
on 3/7/14, 6:50 AM
0
Francisco Martínez
On 3/12/14, 8:05 AM

If you have a problem with "database manager" method, you can try with this:

DUMP DataBase from source server:

pg_dump -f oe-mydatabase_backup.sql mydatabase_name

RESTORE on destination server:

psql -f mydatabase_backup.sql mydatabase_name

You need remember if have a custom addons then need copy the server files.

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

0 follower(s)

Stats

Asked: 3/6/14, 3:06 PM
Seen: 2734 times
Last updated: 3/16/15, 8:10 AM