Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

How to move datastore to a different hard drive Odoo 10 CE?

Naroči se

Get notified when there's activity on this post

This question has been flagged
serverdatabasepostgres
3 Odgovori
6483 Prikazi
Avatar
Donald Leaman

Initially I had performed an "out of the box" install with the all-in-one deb file for Ubuntu 16.04 that I downloaded from Odoo.com and I installed it "as is".  It puts the database datastore, PostgresSQL software, and Odoo app all on the same hard drive and in the same environment.  We were a very small shop and were only experimenting to see how it would work for us.  We made some changes to our busness practices to conform with Odoo (Odoo is made to conform to world's best business practices), and made some changes to Odoo to conform to our business.  And as time went by Odoo became our actual business software with all of our real production data.  A lot of data.  We're going to run out of hard drive.  And I don't like having everything in the same place.  So, how do I create a PostgreSQL datastore on a different hardware, keep Odoo and Postgresql software where it is, and port my data to the new datastore?

0
Avatar
Opusti
Donald Leaman
Avtor

I can't see how to do it, but this question has been solved and can be marked as such.

Avatar
Donald Leaman
Avtor Best Answer

I can't see how to do it, but this question has been solved and can be marked as such.

0
Avatar
Opusti
Avatar
strix gixa
Best Answer

I faced the data lost problem from my hard drive. We know that data store in hard drive . Suddenly system was crashed and at that time format the drive but data delete from drive. I have been searching data recovery</a> service center.  Although I got some information through https://www.uaetechnician.com/hard-drive-data-recovery.html browsing site. Need an alternate solution. Suggest to me.


0
Avatar
Opusti
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Best Answer

Hi Donald,

The easiest to do is by setting up a clean new server. Install Odoo on it with the latest patches, install postgreSQL and then manually move the database. If the database is not huge you can take a backup through the frontend on http://yourwebsite.com/web/database/manager as this will include all images into the dump file.
If the database is to big you'll need to dump it from the command line. In this case you will need to restore the database on the new instance and also move the filestore (which holds all your files) manually to the new server.
One of the guys on the help forum has made a post about this which explains it quite well. See https://www.odoo.com/nl_NL/forum/help-1/question/odoo-10-backup-and-restore-123954  
In essence you do the following:

# On the old server:
pg_dump --format=c dbname > dbdump.dump
# On the new server (under the postgreSQL user):
createdb upgraded_dbname
pg_restore -O -x -d upgraded_dbname < upgraded_dbdump.dump


Regards,
Yenthe

0
Avatar
Opusti
Donald Leaman
Avtor

I didn't read the other post yet, but to clarify, I got us a new server. I want to keep the Odoo app on the computer where it is now, but I want to move the database server to my new server. So, let me see if I got this right: 1.) I install PostgreSQL on my new server. 2.) I back up my database from where it is now. 3.) I recover that backup to the PostgreSQL that I installed on my new server. 4.) I configure Odoo, on the computer where it currently resides, with the IPnn.nn.nn.nn:port5432 of my new PostgreSQL location. I could even use pgAdmin that's on the computer where my current Odoo and PostgreSQL reside as an admin tool for the PostgreSQL at the new location. I just don't see how to configure Odoo for where to connect to PostgreSQL.

Donald Leaman
Avtor

OK, one more question: How do you configure PostGreSQL to specify where the data store should be located other than the default?

Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Why does the server need to restart after creation of new DB?
server database
Avatar
0
mar. 15
4458
When should Database be separated on Separate Server. Solved
server database postgresql
Avatar
Avatar
1
jul. 25
4375
Database does not connect to server
server database Odoo14
Avatar
Avatar
1
avg. 24
2908
problemi di licenza
server database licence
Avatar
0
jun. 24
2250
Change postgreSQL database owner
database cloud postgres
Avatar
Avatar
Avatar
3
apr. 19
9351
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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