On odoo.sh ,If we already have one production branch with production DB, how we can create new DB on our staging branch instead of importing the production DB or restoring it from automated backups.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
You can hit the "+"-sign in the staging branch section.
Then you can select from which branch it should fork the staging branch...
Enter a name in "To" action and the staging branch will be created.
The staging branch is always a copy of the production db as far as i remember. the dev branches will be a demo database with the modules installed in the production branch...
So i think a new (or empty) db in staging section is not possible.
Create a new database without installing any Apps on another Server (maybe hosted locally). Take a backup and restore that backup to the staging branch.
I did not see any possiblity , so we should have setup the local envirnoment of the vesrion we want to create database of and then created a raw DB there which can be downloaded and imported to SH staging branch.
What is the exact goal? Do you want to remove the production db completly and have a new database in staging?
If you upload an existing backup (from local env) it will be used for production and staging. So as far as i know you will not be able to separate the production and staging db´s.
@Nils
The Goal is to use Raw DB on one staging branch for some testing wich is not possible on production db backup.
If I will upload a backup , it will only be used for staging not for production.
The production and staging DBs are always separate.
Hey Muhammad,
ok i will have a look. Up to this point i thought this is not, as the backups for example refers to the same files... from both production and staging.
But thanks for the input! Maybe this is helpful to know for future purposes.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Sep 24
|
1418 | ||
|
2
Aug 25
|
3116 | ||
|
1
Mar 24
|
2170 | ||
|
2
Jan 24
|
2967 | ||
CVE-2023-44487 vulnerability
Solved
|
|
2
Oct 23
|
3361 |