Geovanny Dután
Geovanny Dután

Reputation: 11

Error when making backup in odoo 15 Database backup "Postgres subprocess ('pg_dump', '--no-owner', '--file=/tmp/tmpw2whn999/dump.sql', 'BBDD')"

I am using odoo 15 and migrated from the previous version. When using the "Manage Databases" option and choosing a database it gives me the error "Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpw2whn999/dump.sql', 'BBDD') error 1"

enter image description here

Upvotes: 0

Views: 1609

Answers (1)

Geovanny Dután
Geovanny Dután

Reputation: 11

I share my solution that helped me to solve the problem: The problem was that when migrating from a previous version of Odoo, the Postgres client installer in the Docker container was not 15 and that's why it didn't let me make the backup.

Access docker container

  1. docker exec -it -u root [ID CONTAINER] bash
  2. sudo apt update
  3. sudo apt install postgresql-client -y

I hope my answer will help you.

Upvotes: 0

Related Questions