A Complete Guide to Backup and Restore in Oracle APEX


Introduction
In the world of web application development with Oracle APEX, having a solid backup and restore strategy is essential. In this guide, we’ll walk through the available options for backing up and restoring APEX applications and share practical tips to help you protect your work.
A Brief History of Backup Capabilities in APEX
Since version 3.2, Oracle APEX has supported exporting applications as SQL files. However, a major improvement came in version 22.1, when a built-in interface for managing backups—Utilities > Manage Backups
—was introduced. This feature offers a more streamlined and centralized backup experience.
Methods for Backing Up APEX Applications
1. Manual Export (Classic Method)
Navigate to:
Application Utilities > Export/Import
Best suited for older APEX versions
Outputs a downloadable
.sql
file containing your application’s definitionTip: Store exported files in Git or external backup systems for version control
2. Manage Backups (Modern Method)
Navigate to:
Utilities > Manage Backups
Supports scheduled automatic backups
Allows you to add descriptive notes for each backup
Provides a central location to view and manage all backups
Step-by-Step: Creating a Backup in APEX
Log in to the APEX Builder
Open the desired application
Go to
Utilities > Manage Backups
Click Create Backup
Enter relevant details (title, description, etc.)
Confirm to create the backup
Restoring Applications from Backup
1. Restore via Manage Backups
Select the desired backup
Click Restore
Choose to restore under the same or a new Application ID
Note: If you restore using the same ID, the current version will be overwritten.
2. Restore from Exported SQL File
Navigate to
Import Application
Upload the
.sql
fileConfigure target workspace, Application ID, and other settings
Ideal when restoring from external or archived backups
Key Tips for Managing Backups
Storage Limits: Backups are stored within your APEX environment, which may have space constraints.
Structure Only: APEX backups include only the app’s structure—pages, logic, components—not database table data.
External Backup Recommended: Always keep a copy of your exported .sql
files in a secure, external location (e.g., Git, S3, MinIO).
Versioning: For critical apps, create multiple backups with clear, descriptive notes to track changes over time.
Automation: Use tools like APEXExport
or REST APIs to automate backup workflows in CI/CD pipelines or administrative scripts.
Frequently Asked Questions
Does the APEX backup include database table data?
No, it only contains the application’s structure and logic. Use tools like Oracle Data Pump to back up actual data.
Can backups be scheduled automatically?
Yes, from version 22.1 onward, you can configure scheduled backups via Manage Backups
.
If I delete the application, will the backups remain?
Yes, backups are stored independently of the main application and are not deleted unless removed manually.
Conclusion
Proper backup management in Oracle APEX can save you from major setbacks. With newer features like Manage Backups, the process has become more efficient and user-friendly. That said, it’s always a best practice to maintain an external backup strategy with multiple layers—just in case.
Subscribe to my newsletter
Read articles from Mahdi Ahmadi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Mahdi Ahmadi
Mahdi Ahmadi
Founder & CEO at Artabit | Oracle APEX Expert | Building Innovative HR Solutions | UAE & Iran