Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4485 Näkymät

Is there a way to rebuild for example a staging environment on odoo.sh without retrieving production database?

Sometimes, when we restore a production database in staging, it restores the code's version of the production too. And when we want to rollback to the actual code's version of the staging env, it seems to be not possible. The only workaround that I found is to make a small push to bring back the env to the right code's version.

Avatar
Hylkää
Paras vastaus

There are two different types of behavior:

- Backup-restore: restoring a backup of the production environment to a staging environment restores the data AND the production code.


- Rebuild: rebuilding a staging environment restores the production data but retains the staging environment code. This is the solution you should use if you want to avoid having to redeploy the staging environment code.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
1503
4
huhtik. 25
11783
1
helmik. 25
3232
1
tammik. 25
1179
1
tammik. 25
1773