Skip to Content
Menu
This question has been flagged
1 Reply
3285 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 24
10264
1
Nov 22
2817
3
Mar 21
9154
6
Jun 25
14766
3
Jan 22
4958