Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm trying to automate the backup of the database. I created a backup with the following command:
pg_dump --format=c --no-owner --username=postgres <dbname> > backup.dump
This seems to work as advertised. A dump is created.
To test this backup, I dropped the database from the database manager webpage. Then in commandline I use:
createdb -T template0 <name>
pg_restore --no-owner --dbname=<name> backup.dump
A database is created and the restore happened. But when I go to the database manager webpage, no database is found.
If I try restoring with the restore webpage, I get an error saying "Could not restore the database"
Any ideas on how to fix this?
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
|Asked: 9/22/14, 4:50 AM|
|Seen: 6045 times|
|Last updated: 3/16/15, 8:10 AM|