Backups for Mendix on Azure
Introduction
Mendix on Azure integrates backup and restore functionality that allows you to create and restore database snapshots for your Mendix application environments hosted on the platform.
Backup snapshots include both the database and the file documents associated with the Mendix app environment.
Enabling Backups
To start using backups, select Try new Backup and Restore on the Backups page in the Mendix for Kubernetes portal.
You must have Manage Apps Backups permission for the namespace to use this feature.
Creating a Backup
- On the Apps page, select your app.
- Click Backups in the navigation pane.
- Choose the environment to back up from the environment dropdown.
Backups cannot be created while the environment is in any of these states:
- Creation in progress
- Creation failed
- Deployment package is being deployed
- Environment is in transition state (runtime processing)
- Click Create Backup.
- Monitor progress in the Status column.
Backup Snapshot Details
Click More Options ( ) > Details to view:
| Backup Detail | Description |
|---|---|
| Status | Backup status: Processing, Failed, or Finished |
| Snapshot ID | Unique identifier |
| Created on | Date and time created |
| Deployment Package | Version at backup creation |
| Comment | User-added comment |
Deleting a Backup Snapshot
To delete a backup snapshot, perform the following steps:
- Click More Options ( ) next to the desired backup.
- Click Delete.
Restoring a Backup Snapshot
To restore a backup snapshot, perform the following steps:
-
Stop the app if running by clicking Stop Application.
-
Click More Options ( ) next to the backup to restore.
If restoring a backup from a different Mendix model version, you will be warned. You must deploy the matching model after restore.
-
Click Restore.
-
Select the destination environment (for example, restoring production backup to acceptance).
The environment details page will show restore progress. Activity log shows FINISHED on success or FAILED on failure.
Uploading a Backup Snapshot
To upload a backup, perform the following steps:
- Click Upload Backup.
- Select the archive to upload (must contain a Full Snapshot).
Uploaded backups appear in the backup list and can be restored normally.
Downloading a Backup
To download a backup, perform the following steps:
- Click More Options ( ) > Download on the desired backup.
- Click Start to request the download.
- After processing completes, use the Download button to retrieve the archive.
- Optional: Click Show URL to copy the download link.
Backup archives are compatible with Mendix Cloud backups allowing migration from Mendix on Azure to Mendix Cloud.
Automated Backups Schedule
| Frequency | Timing | Type | Retention Period |
|---|---|---|---|
| Nightly | Every night | Automatic | 14 days (from previous day) |
| Weekly | Every Sunday | Automatic | 3 months (from previous day) |
| Monthly | First Sunday of each month | Automatic | 1 year (on that Sunday) |
| On demand | When triggered | Manual | 14 days (from previous day) |
Backups older than retention are deleted automatically but can be manually removed earlier. To keep backups longer, download them locally.
Retention Notes
If the first nightly backup occurs after the first Sunday, no monthly backup will be retained that month. Download a nightly or weekly backup to extend retention.
Known Limitations
- Partial data restoration may occur if a restore process fails.
- No API support exists currently for backup and restore.
- Although the portal UI suggests cross-namespace restores, only restores within the same namespace are supported.