Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
4265 Visualizações

Hello Odoo's 🙋‍♂️, 

I'm looking to export and import all the databases in Odoo. I need to transfer my work from Odoo installed on Docker to Odoo installed on my desktop.

Avatar
Cancelar

what issue you're facing?

Melhor resposta

Hi,
From the database manager: ie, from /web/database/manager you can export the db with or without filestore and from the db manager page of the new odoo instance, restore the exported db.

* Navigate to the DB manager page of existing odoo instance
* Trigger the backup process
* Once the db is exported as zip
* Open db manager page of new instance
* Click Restore button and select the already exported file and restore

Odoo database backup:  How To Back Up Database In Odoo

Thanks

Avatar
Cancelar
Autor Melhor resposta

Thank you guys so much !

Avatar
Cancelar
Melhor resposta

I have used the two methods that Tobi mentions and I recommend using the database manager, since when you export the database zip, it also exports the static files. For example the images of the contacts.


The path to this directory is located in your odoo directory:

/odoo/.local/share/Odoo


If you use the pg_dump method, make sure to transfer this directory to your PC

Avatar
Cancelar
Melhor resposta

Simply run:

pg_dump dbname > dumpfile

on your server for each database or just backup database from /web/database/manager screen


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
6390
1
fev. 25
1210
0
mai. 24
183
2
jul. 21
6857
3
jul. 16
6415