Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
serverdatabasepostgres
3 Respostes
6587 Vistes
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
Descartar
Donald Leaman
Autor

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

Avatar
Donald Leaman
Autor Best Answer

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

0
Avatar
Descartar
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
Descartar
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
Descartar
Donald Leaman
Autor

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
Autor

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!

Registrar-se
Related Posts Respostes Vistes Activitat
Why does the server need to restart after creation of new DB?
server database
Avatar
0
de març 15
4549
When should Database be separated on Separate Server. Solved
server database postgresql
Avatar
Avatar
1
de jul. 25
4500
Database does not connect to server
server database Odoo14
Avatar
Avatar
1
d’ag. 24
2987
problemi di licenza
server database licence
Avatar
0
de juny 24
2310
Change postgreSQL database owner
database cloud postgres
Avatar
Avatar
Avatar
3
d’abr. 19
9433
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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