Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

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

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

How to Backup Odoo 18 Enterprise Database from Cloud and Run Locally

Subscribe

Get notified when there's activity on this post

This question has been flagged
4 Replies
6156 Views
Avatar
BloomOn Design Agency

Hello,

I’m looking for guidance on how to back up my Odoo 18 Enterprise database from my cloud-based Odoo subscription and restore it locally. I need help with the full process, from downloading the backup to restoring it on my local machine.

Steps I’ve Tried So Far:

  1. Downloaded the Backup
    • I was able to create a backup from the Odoo Cloud interface, and the file is downloaded as .dump.zip.
  2. Extracting the Backup
    • I extracted the .dump.zip file, which gives me the dump.sql (database) and filestore/ (files, images, attachments).
  3. Restoring the Database Locally
    • I created a new database in pgAdmin 4 and attempted to restore it using the .sql file, but I ran into a few issues.
  4. Restoring Filestore
    • I copied the extracted filestore into my local filestore directory.
  5. Configuration
    • Updated the Odoo configuration file to point to my local database.

Issues:

  • After restoring the database and setting up everything locally, I can’t seem to get the system to fully work. The database and files seem to be in place, but I’m running into some challenges like missing attachments or images.

Questions:

  1. Is there anything I might be missing during the backup and restore process?
  2. Are there any additional steps to ensure everything (like website customizations) is fully restored?
  3. Has anyone successfully run their Odoo Enterprise database locally? Any tips?

0
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

​

⚠️

You DO NOT need to unzip the file, create anything in PostgreSQL, 
modify any configuration files, restart the server, or update any file permissions 


There are TWO simple steps:

  1. Download the backup ZIP (which you have done)
  2. Restore the backup ZIP (using the Database Manager)

The Database Manager at /web/database/manager will create the database and copy the filestore for you.



See https://www.odoo.com/documentation/18.0/administration/hosting.html#to-on-premise

0
Avatar
Discard
Avatar
ODOO_Aspirant
Best Answer

just to reconfirm - you mean - ODOO.SH-  Am i correct 

0
Avatar
Discard
Avatar
Odiware Technologies
Best Answer

If you’re using Odoo 18 Enterprise (Online/Cloud version) and want to backup your database and run it locally, follow these steps:

✅ Step 1: Backup Odoo 18 Database from Cloud

1️⃣ Log into Odoo Cloud

  • Go to Odoo.com → Click "Sign in"
  • Navigate to "My Databases"

2️⃣ Download the Backup

  • Find your database and click "Manage Database"
  • Select "Backup"
  • Choose "Full Backup" (includes filestore and database)
  • Click "Download" and save the .zip file

✅ Step 2: Restore Backup on Local Odoo 18

🔹 Install Odoo 18 Locally (if not already installed)

bash

CopyEdit

sudo apt update sudo apt install odoo

🔹 Extract the Backup File

  • Unzip the .zip file to get the database dump (.dump or .sql)

🔹 Restore Database to PostgreSQL

bash

CopyEdit

sudo -u postgres createdb odoo18_local sudo -u postgres pg_restore -d odoo18_local /path/to/your_backup.dump

✅ Step 3: Configure Odoo to Use the Restored Database

1️⃣ Edit Odoo Configuration File (/etc/odoo.conf)

ini

CopyEdit

db_name = odoo18_local

2️⃣ Restart Odoo Service

bash

CopyEdit

sudo systemctl restart odoo

✅ Step 4: Access Odoo Locally

  • Open your browser and go to:
    http://localhost:8069
  • Log in using your Odoo cloud credentials

-1
Avatar
Discard
Avatar
Sunny Sheth
Best Answer

Hi  BloomOn Design Agency,

Restoring an Odoo 18 Enterprise database from a cloud backup to a local instance requires several precise steps to ensure that everything, including the database, filestore, and configuration, is set up correctly. Below is a detailed guide to help you troubleshoot and fully restore your Odoo database locally.

Step-by-Step Guide to Restoring Odoo 18 Enterprise Locally

1. Download the Backup from Odoo Cloud

Since you've already downloaded the .dump.zip file and extracted it, you should have:

  • dump.sql (PostgreSQL database)
  • filestore/ (attachments, images, files)
  • (Optional) manifest.json (backup metadata)

2. Restore the Database in PostgreSQL

To restore your database properly, follow these steps:

Step 2.1: Create a New Database

  1. Open pgAdmin or use the command line.
  2. Create a new database in PostgreSQL using the same encoding and collation:



    CREATE DATABASE odoo18_local WITH OWNER odoo ENCODING 'UTF8' TEMPLATE template0;

    • Replace odoo18_local with your actual database name.
    • Replace odoo with your PostgreSQL user.

Step 2.2: Restore the Database from dump.sql

Use the following command in the terminal:



psql -U odoo -d odoo18_local -f dump.sql

  • If you encounter errors about missing roles, create the role manually:



    CREATE ROLE odoo WITH LOGIN SUPERUSER CREATEDB CREATEROLE PASSWORD 'yourpassword';

    Then retry the restore.

3. Restore the Filestore

Odoo stores attachments and images separately from the database. You must copy the extracted filestore/ directory to Odoo's local data directory.

Locate Your Odoo Data Directory

  • On Linux:



    /home/odoo/.local/share/Odoo/filestore/

  • On Windows:



    C:\Users\YourUser\AppData\Local\Odoo\filestore\

Copy the Filestore

Ensure the filestore matches the name of the database:



cp -r filestore/ ~/.local/share/Odoo/filestore/odoo18_local/

(Change odoo18_local to your actual database name.)

4. Update Odoo Configuration

Edit your odoo.conf file to point to the restored database.

Find the Configuration File

  • Linux:



    /etc/odoo/odoo.conf

  • Windows:



    C:\Program Files\Odoo 18\server\odoo.conf

Modify the Configuration

Ensure it includes:


[options] db_host = localhost db_port = 5432 db_user = odoo db_password = yourpassword addons_path = /opt/odoo/addons,/opt/odoo/custom_addons data_dir = /home/odoo/.local/share/Odoo

Restart the Odoo service after updating the configuration:



sudo systemctl restart odoo

5. Debugging Issues After Restoration

If Odoo starts but has missing attachments or errors:

  • Check Logs: Run Odoo with logging enabled:



    ./odoo-bin --log-level=debug

  • Update Filestore Permissions:



    sudo chown -R odoo:odoo ~/.local/share/Odoo/filestore/ sudo chmod -R 755 ~/.local/share/Odoo/filestore/

  • Check Installed Modules: If you get module errors, run:


    ./odoo-bin -c odoo.conf -u all

    This updates all modules.

6. Verify Everything

  • Log in to Odoo at http://localhost:8069.
  • Check if attachments load correctly.
  • Review logs for any errors.

Final Thoughts

✅ Common Issues and Fixes

ProblemSolution
Database restore errorEnsure the PostgreSQL role exists and use psql for restoring.
Missing attachments/imagesEnsure the filestore is copied and permissions are correct.
Website layout missingUpdate modules with -u all and clear the cache.
Odoo fails to startCheck odoo.conf and restart the service.


Method 2: Restore via Odoo UI (/web/database/manager)

If you want a more user-friendly way to restore your database, follow these steps:

1. Open Odoo Database Manager

  1. Start your local Odoo instance.

    bash


    sudo systemctl start odoo # For Linux net start odoo18 # For Windows (if installed as a service)

  2. Open your web browser and go to:

    bash


    http://localhost:8069/web/database/manager

2. Restore the Database

  1. Click on "Restore Database".
  2. Choose the .zip file you downloaded (.dump.zip).
  3. Enter a new database name (e.g., odoo18_local).
  4. Master Password:
    • This is defined in your Odoo configuration file (odoo.conf).
    • If you haven't set one, you need to find or set it manually.

3. Finding or Setting the Master Password

Option 1: Check Existing Configuration

  • Open your odoo.conf file (/etc/odoo/odoo.conf on Linux or C:\Program Files\Odoo 18\server\odoo.conf on Windows).
  • Look for the admin_passwd line:


    admin_passwd = mysecurepassword


Option 2: Set a New Master Password

If you don’t know it, set a new one in odoo.conf:

ini


admin_passwd = newpassword

Then restart Odoo:

bash


sudo systemctl restart odoo # Linux net stop odoo18 && net start odoo18 # Windows

4. Final Steps

  • After restoring, log in with your existing Odoo admin credentials (from the cloud version).
  • Verify that everything (modules, filestore, customizations) is working.
  • If attachments are missing, manually copy the filestore as explained in the first method.

Comparison of Both Methods

MethodProsCons
pgAdmin / psql (CLI)More control, useful for debugging errorsRequires PostgreSQL knowledge
Odoo Web UI (/web/database/manager)Easy, no command-line requiredRequires correct master password


Thanks & Regards,
Sunny Sheth

-1
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

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