Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Error on restoring database (Database restore error: Postgres subprocess ('/usr/bin/pg_restore', u'--dbname=restored', '--no-owner', '/tmp/tmpm_lKWR') error 1)

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
databaserestoredb
5 Antwoorden
61743 Weergaven
Avatar
Diogo

Impacted versions: 10.0

Steps to reproduce: Export some db from one server then try to import in another server.

Current behavior: returns this error:

Database restore error: Postgres subprocess ('/usr/bin/pg_restore', u'--dbname=restored', '--no-owner', '/tmp/tmpm_lKWR') error 1

Expected behavior: I expect to recover my data in another db, for testing needs

Thanks in advance.

(ps: sorry for the copy/paste from the github issue.. i just need help to solve this ASAP)

0
Avatar
Annuleer
Anabela

Hello, I've the same issue.

In v11 from one server to other server also v11 , if I try to restore the database .zip I get that error, if I try to restore the same database without the filestore(.dump) the restore is completed.

Did you found the solution ?

Avatar
José Roberto Mejía Pacheco
Beste antwoord

My solution, this I did in 2020 to move an instance of Odoo 9 to a virtual machine.

If you do the backup in Postgresql 9.0.23 for example and you want to restore in a Postgresql instance with version 9.3.x it will not allow it, you need to restore from the same version that you made the backup.

You restore by doing:

postgres@Odoo9:/home/administrador$ psql

postgres=# create database my_database;

postgres=# alter database my_database owner to odoo;

postgres@Odoo9:/home/administrador$ psql -U odoo -d my_database -h localhost -f my_database_bak.sql

  


7
Avatar
Annuleer
Open Alpha LLC

This is the solution.

Thank you for sharing.

ABU K

Best Solution and saved 2 day

Faris Fathurrahman

how should I do this?

Avatar
NHAT MINH ENGINEERING AND BUSINESS SOLUTIONS CO.,LTD)
Beste antwoord

the root cause for this error is mismatch the version of Postgresql

Please make sure the version of Created Database and Version of Postgres that is trying to backup that DB is the same.

if your VPS, hosting machine install many versions postgres, when odoo run psql backup it would take the oldest version to back up, while when you create DB with the db port at version that you want to run, and create DB.


3
Avatar
Annuleer
Avatar
Gaston Carrera
Beste antwoord

Hi Diogo!  (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
Annuleer
Avatar
Axel Mendoza
Beste antwoord

You could check to see if you have postgresql-client package installed in your OS. That could lead you to those errors

0
Avatar
Annuleer
Alright!

postgresql-client should be installed or not installed?

Axel Mendoza

it should be installed

Avatar
Lan Pham
Beste antwoord

First check if you can create db from UI successfully. If not there is error in your Odoo installation or config.

If you can create db from UI but could not restore, please check your addons modules or addons_path settings.

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
500: Internal Server Error Opgelost
database restoredb
Avatar
Avatar
Avatar
Avatar
4
jul. 24
4856
Assistance with Restoring Database on Odoo 17 Online Opgelost
database restoredb odoo17
Avatar
Avatar
1
jul. 24
3668
How to restore database in odoo.sh through SSH
database restoredb odoo
Avatar
Avatar
Avatar
2
feb. 23
8250
How to Recover database from Odoo 13.0>Postgresql>data
database postgresql restoredb
Avatar
0
apr. 22
3773
Database restore
database restore restoredb
Avatar
Avatar
1
mrt. 15
6444
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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