I am responsible for maintaining a large project that uses OutSystems.
I will deploy new feature to production env but i want to back up solution if there are any problem with new feature.
I want to roll back data after deploy new feature to production environment. Currently, I only know how to roll back code using the portal/service center.
So is there a way for me to do that with the data?
Thanks.
Huy Hoang
Hi Huy,
OutSystems allows you to roll back the application code, but it does not support automatic database rollback as part of the deployment pipeline. Once new data is written in Production, the platform will not revert it when you roll back the module version.
To manage data rollback, here are the practical options used in large OutSystems projects:
Use your database backup strategy Before deploying to Production, make a full DB backup at the infrastructure level (SQL Server or Oracle). If something goes wrong, the only way to truly “rollback” data is to restore that backup. This is the recommended and safest approach.
Create data migration scripts If the deployment includes data changes, you can prepare:
an “upgrade script” to apply new data, and
a “rollback script” to revert the data if needed. These scripts are executed manually by the DB team when troubleshooting.
Avoid destructive data changes If possible, design new features so they do not override or delete existing data. This makes rollback unnecessary.
For small controlled datasets, export before deploy If the tables involved are small and non-critical, you can export the data before deployment and re-import it if needed, but this is only viable for specific scenarios.
for the point 1, currently i can not found the information of Aurora PosgreSQL DB. Maybe OS hidden this below so i don't have permission to view this.
So if i want to restore to latest backup, i must connect to OS support. Am i correct ?
Correct!! In OutSystems Cloud you do not have direct access to manage or restore the Aurora PostgreSQL database yourself. The DB layer is fully managed by the OutSystems infrastructure team, so production database restore operations must go through OutSystems Support.
Here is how it works:
OutSystems automatically performs regular backups of your Production database.
If you need to restore the database to a previous point in time, this cannot be done from Service Center or Lifetime.
You must open a support case with OutSystems Support and request a database restore.
Support will coordinate the restore, confirm the target timestamp, and handle the operation on your behalf.
A note of caution: restoring the Production database affects the entire environment, not only the module you just deployed. Make sure the rollback window is aligned with all teams using the environment.
So yes, if you need to restore the latest backup, the correct process is to contact OutSystems Support.