Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo Enterprise Upgrade FAQ

1. Which database dump formats are supported by the migration platform?

The migration platform accepts a lot of different formats: 
PostgreSQL custom dump, PostgreSQL tar-format, plain text sql or compressed plain text sql.

If you want to compress a plain text sql dump, you can use a variety of compression methods: 
gzip, zip, rar, xz, 7zip, bzip2

If you don't really know which format to choose, see question 2.

2. Which database dump format is the best for the migration?

You have 2 choices:

  • if you want a fast database dump and restore, choose the PostgreSQL tar-format compressed with gzip
  • if you want a small database dump file, choose the PostgreSQL tar-format compressed with xz

If you want to know how to dump/restore the format of your choosing, see question 3.

3. What are the pros and cons of each database dump methods and how to dump/restore a database with the method of your choosing ?

PostgreSQL tar-format compressed with gzip
Commands to create pg_dump --format=t dbname | gzip > dbname.tar.gz
Commands to restore createdb migrated_dbname
gunzip migrated.dbname.tar.gz | pg_restore -O -x -d migrated_dbname
Pros and cons Pros:
  1. The header of a PostgreSQL tar-format dump already contains the PostgreSQL version information so, the migration platform will not have to guess the version and restoring your dump will be faster
  2. Compressing using gzip method is faster than most other methods
Cons:
  1. gzip has a compression ratio that is less efficient than xz
PostgreSQL tar-format compressed with xz
Commands to create pg_dump --format=t dbname | xz > dbname.tar.xz
Commands to restore createdb migrated_dbname
xzcat migrated.dbname.tar.xz | pg_restore -O -x -d migrated_dbname
Pros and cons Pros:
  1. The header of a PostgreSQL tar-format dump already contains the PostgreSQL version information so, the migration platform will not have to guess the version and restoring your dump will be faster
  2. xz has a very good compression ratio
Cons:
  1. Compressing using xz method is slower than most other methods
PostgreSQL custom dump
Commands to create pg_dump --format=c dbname > dbname.dump
Commands to restore createdb migrated_dbname
pg_restore -O -x -d migrated_dbname < migrated.dbname.dump
Pros and cons Pros:
  1. The header of a PostgreSQL custom dump already contains the PostgreSQL version information so, the migration platform will not have to guess the version and restoring your dump will be faster
  2. It's compressed by default but compression is somewhat similar to gzip compression (which is not optimal)
  3. Compressing speed is relativelly fast compared to most of the other methods
  4. This is the default dump format used by Odoo server. You can use the Odoo web interface to restore a PostgreSQL custom dump
Cons:
  1. The compression ratio is similar to gzip compression and so, is not the best one if you prefer a small dump file
Plain text SQL
Commands to create pg_dump -O dbname > dbname.sql
Commands to restore createdb migrated_dbname
psql -d migrated_dbname < migrated.dbname.sql
Pros and cons Pros: None 
Cons:
  1. There is no header in a plain text SQL file. Wwe will not be able to determine the PostgreSQL version you are using so, the migration platform will have to guess your PostgreSQL version and restoring your dump will be slower
  2. Not compressed. Your database dump file could potentially be huge
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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