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

In odoo.sh I have production, staging and development. For production and staging I have backup options, but not for development.


How can I reset the development database, or import a prod/staging ?



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

Development always have demonstration data, development it is use only to test new modules.

If you only had one staging branch, my recomendation is drop staging ,draging the staging branch to development, and create a new staging from production, you will have the same data in staging and production. 

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

Hi,

In Odoo.sh, managing databases across Production, Staging, and Development environments is essential for safe testing and deployment. While Production and Staging environments offer direct backup and restore options, the Development environment does not have a visible "Backup" button in the branch interface, which can be confusing for new users. However, there are still effective ways to reset or refresh your Development database:


Rebuild the Development Build:


You can reset a development database by clicking Rebuild button. This will recreate the database using the latest code on that branch.


Restore from a Backup (via Build Menu):


Although backups aren't shown directly in the Development branch, you can restore a database by clicking the three-dot menu (⋮) of a build (not the branch), and choosing Downlod DB dump.


Hope it helps.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 24
50
0
thg 4 22
109
1
thg 8 25
292
1
thg 8 25
333
4
thg 7 25
1680