Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
475 มุมมอง

Hello everyone,

I'm facing an issue while backing up a database in Odoo 18 with PostgreSQL 16.

When I try to back up the database with filestore enabled, I get the following error:


Database backup error: Command '['/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpcqopcknp/dump.sql', 'DBNAME']' returned non-zero exit status 1.  


However, if I back up the database without the filestore, the backup completes. But when I try to restore it locally, the restored database seems corrupted or incomplete.  


Notes:   The database was migrated by importing data via XML-RPC, not by direct pg_dump or upgrade,  I have checked roles and PostgreSQL installation, and only PostgreSQL 16 is installed, Odoo 18 is running from source (GitHub version)  

Has anyone faced a similar issue or has advice on how to solve this?

Any help would be appreciated!

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I changed the /tmp mount point from a tmpfs to a regular disk-backed directory with more space. After doing that, the database backup with filestore enabled worked without issues.  

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Odoo Database error แก้ไขแล้ว
1
ธ.ค. 21
9892
1
มี.ค. 15
3636
How to Restore Odoo Online Database? แก้ไขแล้ว
3
ก.ค. 24
6015
0
มี.ค. 23
1756
Backup procedure for Odoo 14 CE แก้ไขแล้ว
1
พ.ค. 21
3563