Skip to Content
Menu
This question has been flagged
2 Replies
6200 Views

Hi, While taking database backup from odoo 13 community getting error using /web/database/manager

Database backup error: Postgres subprocess ('/opt/bitnami/postgresql/bin/pg_dump', '--no-owner', '--file=/tmp/tmpnad3bjd1/dump.sql', 'Production') error 1


i hosted in google cloud,in debain 10.
And also i had a doubt, In single application, i have two database with same configuration one as testbed (bitnami_odoo) and another as production. i'm able to backup bitnami_odoo db ,but i cant able to take production database

How can i fix this issue..?


Avatar
Discard
Best Answer

Hi Bharath!  

Yo pude resolverlo, el problema es cuando intentas importar la database seleccionando el objeto "dump.sql" , lo correcto es elejir el objeto .zip que obtienes al Exportar la database, en ese caso me importó con exito y sin errores la informacion completa.

I has been able to solve it , my problem was when i try to import the database clicking "Restore Database" and load the "dump.sql" archive, but the correct way its loading the entire .zip file that export the odoo when you clic in "backup".


i hope it works.

Avatar
Discard
Best Answer

Hello Bharath,

Try giving the "pg_path" in your conf file.

For Example:

pg_path = /use/lib/PostgreSQL/11/bin

Here, the path will be a path to the "bin" folder from your system. It may vary according to the Postgres version and Linux system.

Thank you!

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Discard
Author

thanks for your response, finally i found the issue, due to huge size of attachments. backup can't able to processed. its throws upstream and downstream error.

Author

i verified your answer too, that also helps me to clear some doubts

Related Posts Replies Views Activity
0
Feb 20
58
2
Mar 16
3212
1
Nov 24
137
3
Jun 24
5171
0
May 24
264