Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4911 Lượt xem

I want to store data only in Database, not in filesystem. In order to deploy in several servers.

Is there any way to achieve this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Activate developer mode. Go to Settings > Technical > Parameters > System Parameters and set the value of the parameter ir_attachment.location to db 

You will need to create the parameter if it does not exist in the list.

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi Paresh, thanks for your answer, which could be a good solution for me. But it require configurate each db.

Is there any way to set this configuration to apply at all databases, maybe into odoo.conf?

If I have understood your question correctly, once you set this option for the db, your db replication/mirroring solution should take care of the rest.

You can simply trigger a SQL query in all the databases.

Tác giả

Thank Sudhir and Paresh, I will try this solution.

Could you tell me please, if you see disadvantages to use db storing versus file system.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 15
14075
2
thg 3 25
1397
3
thg 9 23
4398
1
thg 11 18
4366
0
thg 8 18
3781