I made a backup with the pg_dump command and now every time I try to restore the odoo 12 database I get this message, how should I do the backup or how do I solve this problem
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3285
Views
Hi,
Open your terminal
$sudo su postgres
$createdb -O [Owner] [database_name]
$pg_restore -d [database_name] [dumpfile_name].dump
(Note : owner -> db_user in conf file)
Regards
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Restore database problem
Solved
|
|
2
Aug 24
|
10264 | |
|
1
Nov 22
|
2817 | ||
|
3
Mar 21
|
9154 | ||
|
6
Jun 25
|
14766 | ||
|
3
Jan 22
|
4958 |