This is the eror i get trying to do a database backup
Command '['/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpb8wjih03/dump.sql', 'database name']' returned non-zero exit status 1
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
This is the eror i get trying to do a database backup
Command '['/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpb8wjih03/dump.sql', 'database name']' returned non-zero exit status 1
Hi joe
This error is not very useful as such, error 1 means for sure there is an error, but not more.
While running pg_dump, one should examine the output for any warnings (printed on standard error).
So I had there the following:
pg_dump: aborting because of server version mismatch
pg_dump: server version: 12.4 (Ubuntu 12.4-1.pgdg20.04+1); pg_dump version: 10.14 (Ubuntu 10.14-1.pgdg20.04+1)
So in this case, you shall solve the version mismatch.
Hope it helps someone.
Cheers
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
مارس 25
|
1472 | ||
|
1
أغسطس 25
|
214 | ||
|
0
يوليو 25
|
489 | ||
|
0
يوليو 25
|
1123 | ||
|
1
مايو 25
|
1577 |