Odoo Help

1

0
1 Answer
1
Avatar

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
14232
| 7 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

ERP Harbor Consulting Services

Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
Sudhir Arya (ERP Harbor Consulting Services)
3/7/18, 4:54 AM

Hello Deep,

Normally database commands don't give backup of filestore. You have to either take it manually from "/home/odoo_home/.local/Odoo/filestore/db_name" and copy-paste the filestore folders to new database directory.

If you want to see the code, how Odoo takes database backup along with filestore check following link:

Database Backup with Filestore

Edit:

May be auto_backup module can help you. This module has the ability to take the backup of filestores as well.


Hope this will help you.

Sudhir Arya
ERP Harbor Consulting Services
Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com


3 Comments
deep
3/7/18, 5:15 AM

Agreed, but when I have a automated Back-script (w/ postgresql) running, which takes the backup every scheduled-time, how can I achieve this. Further manually Copying the filestore for a new-database doesn't sound feasible, so I wonder how to manage this. Or still better is there a way, in Odoo to have a database without the filestore concept? like configuration or so.

deep
3/7/18, 5:20 AM

Without physical filstore, but let it save those necessary filestore-related files in its database itself. Because this filstore not only stores less/css related files, it also stores attached documents, & my database has provisions to upload a supporting - documents to every-record. So due to the above limitations, I noticed, most of those important documents were corrupted too, including Invoice-Pdf-reports, that gets attached were failed to load in the restored database without its filestore

Sudhir Arya (ERP Harbor Consulting Services)
3/7/18, 5:44 AM

Deep, in your backup script you can apply the same code which Odoo is using (link I shared in answer).

Ask a Question
Writer
2084
deep
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