Odoo hosting
Odoo.sh staging expires after 30 days: how to extend your test environment
Since 2026, Odoo.sh automatically deletes the database of a staging branch after one month. What that means for your testing, and how a backup and restore gives you another 30 days each time.
If you work on Odoo.sh, you will have seen a notice at the top of your staging environment this year: This staging build will be deleted on, followed by a date. Until recently, a staging environment stayed until you removed it yourself. Now every staging build gets 30 days, and after that the database is gone.
It is also in the Odoo.sh documentation: databases of staging branches are deleted automatically after one month, and to use the branch again you have to rebuild it. On the Odoo forum, an Odoo employee confirmed that this is a new rule for all staging branches.
What changes, and what does not
- A staging build lives for 30 days. The clock starts at the build, so even if you work in your test environment every day, you lose it after a month.
- Your production database and its automatic backups are not affected.
- Development branches were always temporary. Those databases stay for about three days and you cannot take a manual backup of them, so the workaround below only works for staging.
- In October 2026, Odoo said on the forum that staging branches created through the upgrade feature would get 90 days, so you can test an upgrade for longer. Only count on that once you see it in your own project.
Why this hurts
We understand why Odoo does this. A staging environment is a copy of production, and a three-month-old copy says little about how your change will behave today. Forgotten test environments also cost Odoo storage and computing power. Rebuilding regularly is a good habit anyway.
Still, 30 days is short. A user-acceptance test rarely takes less than a month. You develop an integration with a webshop or a warehouse scanner for weeks against the same test data. And you prepare training in an environment you do not want to set up again halfway through.
What makes it worse is that a staging environment is paid for. On 12 November 2026, Odoo.sh charged €12 per month for it with yearly billing and €15 with monthly billing, on top of your workers and storage. So you pay every month for an environment you may not keep longer than a month. Other users and partners make the same point on the Odoo forum, and according to the answers there, no setting or subscription lets you switch the limit off.
Extending it with a backup and a restore
You can renew the period yourself. You are allowed to take a manual backup of a staging database, and when you restore that backup, you get a new build with a new 30-day period. Your test data and your settings stay as they were.
Put the expiry date in your calendar
The date is in the notice at the top of the staging environment. Plan the renewal a few days before, because after the expiry date there is nothing left to back up.
Take a manual backup
Open the staging branch in Odoo.sh, go to the Backups tab and create a manual backup. Staging databases are not backed up automatically, so without this step you have nothing.
Download the backup as well
Keep a copy on your own computer or server. Odoo does not guarantee recovery of staging builds, and with your own copy you can always go back.
Restore the backup on the same branch
In the same tab, choose Restore on the backup you just made. Odoo.sh rebuilds the environment with your data.
Check the new date
After the restore, check that the notice at the top shows a date 30 days later, and log in to see that everything is still there.
What to check after a restore
- Check that outgoing mail is still blocked and that scheduled actions are off before anyone starts testing. A staging environment should not send real emails to customers.
- Integrations tied to one environment may need to be set up again after a restore. For Peppol, we describe this in reactivating Peppol after a restore (Dutch).
- It remains manual work. Odoo.sh has no button to automate this, so if you forget, your test environment is gone.
When renewing every month is not enough
For a test of a few weeks, the backup and restore is more than enough. If a project runs for months, or several people test at the same time, there are two alternatives. You can take a second Odoo.sh project whose production branch serves as a permanent test environment, at the price of an extra project. Or you restore a production backup on your own server, where nobody deletes it after 30 days. In that second case you have to neutralise the copy yourself and deal with the personal data in it, for example by anonymising names, email addresses and bank accounts.
Our advice: start with the monthly backup and restore. It takes ten minutes and costs nothing extra. We do hope Odoo extends the period for paid staging environments, or at least adds an "extend" button.
Frequently asked questions
How long does a staging environment on Odoo.sh last?
The database of a staging branch is deleted automatically after one month. The expiry date is shown in a notice at the top of the environment. The branch itself stays and you can rebuild it.
Can I switch off the 30-day limit or buy more time?
No. According to the answers on the Odoo forum, there is no setting and no subscription for that. You can renew the period by restoring a manual backup of the staging database.
Does this work for development branches too?
No. You cannot take a manual backup of a development database, and those databases only stay for about three days.
What does a staging environment on Odoo.sh cost?
On 12 November 2026 it was €12 per environment per month with yearly billing and €15 with monthly billing. Check the Odoo.sh pricing page for the current amount.
Does this rule affect my production database?
No. The rule applies to staging builds. Your production database is backed up automatically every day and does not expire.