Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3553 Vizualizări

I'm trying to restore a database in Odoo V 8.0-20150212 and the backup is from a different installation (Odoo Version 8.0-3ea978b) but it won't work. at first I thought the problem was in postgres version, so I installed the same  version and even after that the DB wouldn't restore. Am I missing something here?

Imagine profil
Abandonează

"won't work" and "wouldn't restore" - can you explain if you got error messages, unexpected behavior etc so we know what you mean by these phrases?

Autor

I get one message that is "Impossible to restore database", and when I look in postgres I find that the database is created but with no tables.

Autor

Note: I'm restoring the database from odoo's database manager

Cel mai bun răspuns

I agree with Ray, some more detail in your question definetly would help to get a good response

Now some guessing:

  1. there are several different ways to restore a psql database ('psql database_name < pgdump_file', 'pg_restore' being two of them). If one of them wouldn't work I'd try an alternative method.
  2. if your backup file is compressed (.tar, .gz, ....) it might help to uncompress that in a separate operation first and then try to restore the uncompressed backup file after that.
Imagine profil
Abandonează