Odoo Help

1

1
2 Answers
2
Avatar

Bole Croatia

--Bole--

2547
| 6 4 8
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole Croatia
10/26/15, 6:58 AM

ll pictures and attachments are stored on file system in odoo8 ( and 9)
Default location of files is : odoo_user/~/.local/share/Odoo.
in that folder you will have 3 subfolders :

- apps ( contains downloaded modules) 
- sessions ( no need to move it.. i t will recreate on new server)
- filestore/bd_name - folder containig all pictures , attachments etc for desired database.

when you restore db on new server, folder under ..filestore/new_db_name should be named same as new created database

nd, if you used pg_dump, you need to create database manualy, with correct owner in order to acces it...hope it helps

0
Avatar

Ray Carnes United States

--Ray Carnes--
21124
| 10 7 11
Greater Los Angeles, United States
--Ray Carnes--

Business Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0, 11.0 and 12.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes United States
8/31/16, 11:41 AM

A database backup created with Database Manager using the zip (includes filestore) option will create a full database of your system including attachments.

Modules are folders of Python code and XML data, so they are never included in the backup.  Which modules are installed are part of the backup.  Any modules you have installed from the first server need to be available on the second server.

Modules that are downloaded via the App link inside Odoo are copied to the .local/share/Odoo/addons/9.0 folder - so don't forget them - they can be in any addons path on the second server. If you script a database backup via PostgreSQL, you need to remember to also copy the filestore folder to the second server with your script.

You can restore either backup type to another system, but:

1. The system needs to have a compatible build of Odoo.  The same version, at the same build or later.  By build I mean the date you downloaded or pulled the code.  You can't reliably restore a backup to a system with a July build from a system that has an August build.

2. The database should always be 'upgraded' via either the command line (-u all option) or by upgrading the base module from the UI.  I prefer doing this from the command line and watching the log file, as it will tell you about any modules that are not available on the new server.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now