İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

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

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
backup
9 Cevaplar
67054 Görünümler
Avatar
Malik Sikandar Hayat

Hi, While taking backup from odoo 10 Enterprise getting error ,


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

my instance is hosted on AWS,



thanks 

"PostgreSQL 9.5.6 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609, 64-bit"

 

3
Avatar
Vazgeç
Gregory Gillis

Was this ever resolved? I am having the same issues restoring a backup.

Avatar
Bodi
En İyi Yanıt

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

2
Avatar
Vazgeç
Avatar
Malik Sikandar Hayat
Üretici En İyi Yanıt

Hi,

In my case I had added one test table while was causing this issue then I had dropped that table as seems any object creation you might need to register or update scripts. Hope this will help. thanks

3
Avatar
Vazgeç
Alright!

Malik Sikandar Hayat, You are a life saver brother.

LaoThai

I did the same as you say but it still have this error, how can i fix it?

Avatar
EthanL
En İyi Yanıt

I have the same error, my idea is using command line to find the error

1. logging to postgresql

    sudo su - postgres

    -bash-4.2$ pg_dump od15_br220805 | gzip > od15_br220805.gz
    pg_dump: server version: 13.9; pg_dump version: 9.2.24
    pg_dump: aborting because of server version mismatch
    -bash-4.2$ exit

    ##so obviously is the pg_dump version not matched to the server version

2. change the pg_dump version

   pg_dump --version

       ## pg_dump (PostgreSQL)9.2##

   sudo find / -name pg_dump

        ## /usr/bin/pg_dump ##
        ## /usr/pgsql-13/bin/pg_dump ##

    sudo ln -sfn /usr/pgsql-13/bin/pg_dump /usr/bin/pg_dump

    pg_dump --version

        ## pg_dump (PostgreSQL) 13.9 ##

Finally I upgrade the pg_dump 

now I could backup the postgresql database either from odoo database manager and command line 

        



    

2
Avatar
Vazgeç
oyunsuren

It helped me. Thank you very much.

Avatar
Gaston Carrera
En İyi Yanıt

Hi Malik! (MORE QUIKY WAY)  

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.


0
Avatar
Vazgeç
Avatar
m.wane
En İyi Yanıt

effectivement le souci est lié au filestore, si vous effectuez un backup depuis l'interface sans filestore , c'est a dire sans le mode ZIP , ca marche correctement ...

apres vous importerez votre filestore manuellement

0
Avatar
Vazgeç
MBA MESSI Dieudonne Landry

comment importer le filestore manuellement stp?

Avatar
Herve
En İyi Yanıt

I got the same error, but it was because I run odoo with docker, postgres and odoo are in 2 different containers, and retrying the pg_dump from my odoo container I got this error "Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?" => and in my case, the answer was no to the 2 parts of the question.

To get a quick turnaround, I decided to run separatly the pg_dump from my postgres container et the tar.gz of the filestore from the odoo container

0
Avatar
Vazgeç
Avatar
Manu Miu
En İyi Yanıt

For me it was because I was using postgres 12 instead of 11.

Have a look here: \https://github.com/minhng92/odoo-13-docker-compose/issues/1


0
Avatar
Vazgeç
Avatar
Gagea Alexandru
En İyi Yanıt

Thank you Malik. Your answer solved it for me. I had 2 tables created from pgadmin, i dropped them and the backup worked. If you want new tables in your odoo database, create them from studio, if you are on an Enterprise version.

0
Avatar
Vazgeç
Avatar
Grzegorz Krukar
En İyi Yanıt

This looks like postgresql error. Please try to create manual full backup from /web/database/manager

-2
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
how to backup ? Çözüldü
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
Tem 24
103139
Backup Odoo 12 database using Ubuntu command line
backup
Avatar
Avatar
1
Tem 22
5772
how to backup a saas database and restore on a local server Çözüldü
backup
Avatar
Avatar
Avatar
Avatar
Avatar
12
Haz 24
22985
i can't delete
backup
Avatar
0
Nis 22
50
Error installing auto-backup on Oddo 15 Çözüldü
backup
Avatar
Avatar
Avatar
2
Mar 22
4931
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now