Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Issue Restoring a Database in Odoo 17 CE : Database already exists

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
communityrestoredatabasebackupzipfileOdooV17
2 Antworten
2221 Ansichten
Avatar
Tuni ERP

Hello everyone,

I'm facing an issue while trying to restore a database in my Odoo instance.

I created a backup from the Odoo web interface (file: odoodb.zip) using the database manager. Now I’m trying to restore this backup on the same Odoo instance.

However, when I try to import it, I get the following error in the web interface:

Database restore error: Database already exists

And in the terminal, I see the following log:

2025-04-23 10:30:19,568 8369 INFO testdb odoo.service.db: RESTORING DB: odoodb 
2025-04-23 10:32:20,660 8369 WARNING ? odoo.service.server: Thread , <Thread(odoo.service.http.request.140697989527104, started 140697989527104)> virtual real time limit (168/120s) reached. 
...
odoo/service/db.py", line 326, in restore_db
  r = subprocess.run(
...
subprocess.py", line 1260, in wait
  return self._wait(timeout=timeout)

Additional information:

  • I’m restoring the database through the web interface at: http://<my-ip>:8069/web/database/restore
  • The database name I’m trying to restore does not currently exist (or shouldn't).
  • The restoration process seems to hang until it reaches the virtual real time limit.

Note:

The database did not exist before I attempted the restore. The PostgreSQL server contains no other custom databases — only the default ones created by the system.

My questions:

  • How can I properly restore a .zip database backup if it supposedly doesn’t already exist?
  • Could this be a caching or permission issue?
  • Are there any recommended best practices when restoring database backups in Odoo?

Thanks in advance for your help!

0
Avatar
Verwerfen
Avatar
Jainesh Shah(Aktiv Software)
Beste Antwort

Hello Tuni ERP, 


This issue can sometimes occur if the database backup is large or if the web interface reaches a timeout during the restore process.

If you're encountering a server time out error, you can adjust the time limits in your Odoo configuration file (odoo.conf) by adding the following parameters: 

    limit_time_cpu = 1200

    limit_time_real = 1200

These settings increase the allowed processing time and can help with large database restores.

If you're using a Linux-based system like Ubuntu, it's generally more reliable to restore the database via the terminal instead of the web interface.

 Here’s a step-by-step guide:

1. Unzip your .zip backup file — it typically contains a .sql dump file inside.

2. Create a New PostgreSQL Database

    - Open a terminal and run the following command to create a new empty database (replace your_database_name with your preferred name):

createdb your_database_name

 3. Restore the SQL Dump

   - Use the following command to restore the .sql file into the new database:

psql your_database_name < /full/path/to/your_dump_file.sql

Make sure to replace the path with the actual location of your dump file. 

Once completed, your database should be restored and accessible via your Odoo instance.

Feel free to reach out if you have any questions or run into issues - happy to help !! 


Thanks & Regards,

Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

0
Avatar
Verwerfen
Avatar
Noble Saji
Beste Antwort

From the logs, it is evident that when you try to restore a db, the thread reaches a time limit and is killed. In order to fix this try setting the limit_time_cpu and limit_time_real parameters in your odoo-sever.conf file. You will find a lot of examples of these in other posts. Let us know if it works. Thank you

0
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
How to restore a dump.sql file to new postgresql database ? Gelöst
restore databasebackup Postgresql9.4
Avatar
Avatar
Avatar
Avatar
Avatar
10
Jan. 21
80818
Problem- Restore Database on Odoo 8
restore restoredb databasebackup
Avatar
Avatar
Avatar
3
Juni 16
8337
restore database from terminal
database restore restoredb databasebackup
Avatar
1
Mai 16
9313
How to make snapshots of the Odoo online configuration and restore them?
backup restore restoredb databasebackup snapshot
Avatar
0
Apr. 24
3208
Odoo database restore error Gelöst
community database databasebackup v14 databasemigration
Avatar
Avatar
1
Jan. 23
6785
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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