Search code examples
postgresqlodooodoo-11

While taking database backup Odoo11 causes Error


While taking backup from odoo11, gives error. How to solve this?

Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpa36uaqdp/dump.sql', 'simple_25_10_19') error 1


Solution

  • This error occurs when your PostgreSQL client and server versions do not match. Check your versions.

    More info for Postgres versions in the docker setup can be found here odoo12 database backup no owner?.