Application Backup and Restore

In Creator, application backup allows you to safeguard your app by creating copies of its schema, data, and files. With this feature, you can easily restore your application to a previous state, ensuring business continuity and data security. Backups can be automated or performed manually, giving you full control. This ensures that, in the event of data loss or unexpected issues, you can recover your app quickly and efficiently, minimizing downtime.

The Application Backup section includes three tabs:

  • Backups: Displays all successful backups with relevant details for reference and restoration.
  • Scheduled Backups: Lists all scheduled backups with options to activate or deactivate them as needed.
  • Backup Logs: Displays detailed logs for each backup operation, including status and information for auditing and troubleshooting.

1. Backups

The Backups tab displays key details about each backup:

  • Application: The name of the application being backed up. If all applications are selected, this field displays all Applications.
  • Backup Date: The date and time of the most recent backup in your timezone. To adjust the time zone, navigate to Account Setup, select Personal Details under General, and choose the required time zone.
  • Includes: The components included in the backup:
    • Schema Only: Backs up the application structure without data, saving the .DS file.
    • Schema + Data: Backs up the application structure along with its data.
    • Schema + Data + Files: Backs up the application structure, data, and any attached files.
  • Version: The backup version number, where the highest number represents the most recent backup.
  • Expiry: The date on which the backup will be automatically deleted based on the retention period set during creation. Backups can also be deleted manually at any time. To retain a backup indefinitely, download it to your local storage.
  • File Size: The size of the backup file.

1.1. Types of Backup

Single Application Backup

Backs up a specific application in your account and restore it later without affecting others. It’s especially useful when you need to recover from issues like accidental data deletion or unwanted changes in a specific application.

All Applications Backup

Backs up every application in your account in one go. This is helpful when you want a complete copy of your account, such as before a migration or major update. It also helps in cases of infrastructure failures, as regular backups of all applications allow you to quickly restore everything in a completely new setup.

1.2. Manage Backups

To manage a backup, hover over it and click the ellipsis icon. The following options are available for single application backup type:

  • Download: Save a copy of the backup file to your local storage for safekeeping or offline access.
  • Restore: Restore the application to the state captured in the selected backup.
  • Delete (available for Single and all applications backup types): Permanently remove backups that are no longer needed to free up storage space.

Learn how to perform all these actions.

Note: After restoring an application, ensure users can access it via the correct URL. Two applications cannot share the same link, so the old application link may need to be modified or deleted.

1.3. Filter Backups

The following filters can be applied independently to narrow down your backup list:

  • Application: Select a specific application or all applications to view their corresponding backups.
  • Backup Date: Filter by a specific date or date range.
  • Expiration Period: Filter backups by their retention period to identify those nearing expiration.

1.4. Size Limits for Backups

Note: These limits apply only to Single Application Backups. There are no size limits for All Application Backups.

The file size of downloaded ZIP backups is limited as follows:

Backup TypeSize Limit
Schema only (without widgets)50 MB
Schema only (with widgets)100 MB
Schema with application data1 GB
Schema, application data, and files4 GB

1.5. Scheduled Backups

Scheduled backups allow you to automate the backup process based on your requirements, ensuring data is consistently backed up without manual intervention.

Note: Scheduled backups is only supported for single application backup type in C5.

The Scheduled Backups section displays the following details:

  • Application: The name of the application for which the backup is scheduled. If all applications are selected, this field displays All Applications.
  • Frequency: How often the backup runs:
    • Now: Triggered immediately as a one-time backup.
    • Daily: Runs every day.
    • Weekly: Runs once a week.
    • Monthly: Runs once a month.
  • Scheduled Time: The time at which the backup will run, displayed in the time zone configured in your Account Setup.
  • Expiry In: The retention period after which the scheduled backup will be automatically deleted.
  • Status: Indicates whether the backup schedule is active or inactive.

Learn how to activate or deactivate a backup.

1.6. Backup Logs

The Backup Logs section provides a detailed record of each backup operation:

  • Application: The name of the application associated with the backup. If all applications were selected, this field displays All Applications.
  • Time: The timestamp of the backup operation, displayed in the time zone configured in your Account Setup.
  • Status: The outcome of the backup operation:
    • Initiated: The backup process has started.
    • Completed: The backup completed successfully.
    • Failed: The backup encountered an error and did not complete.
  • Message: Provides detailed information about the backup status. In the event of a failure, the reason is specified, such as:
    • App is locked for encryption
    • Max size limit exceeded
    • App is being published to the production environment
    • Error occurred during the DS export
    • An unexpected error occurred

Once the issue is resolved, the backup can be initiated again. In the event of a failure, a notification email with additional error details will be sent to your account.

Note: Mail server settings must be configured to enable email notifications.

2. Creating Backup

  1. Navigate to Application Backup on the Accounts Setup page, which opens when you click the Setup icon near the top-right corner of the Home page.
  2. Select a Backup Type. Choose All Applications to back up everything in your account, or choose Select Applications and pick the ones you need from the dropdown.
  3. Select Frequency. Choose Now for a one-time backup, or set a scheduled frequency.
  4. Select Components. Choose what to include in the backup.
    1. Schema Only: Backs up the application structure and saves the .DS file. No data is included.
    2. Schema + Data: Backs up the application structure along with its data.
    3. Schema + Data + Files: Backs up the application structure, data, and any attached files.
Note: For All Applications Backup, Schema + Data + Files is backup up by default. However, for Single Application Backup, the Schema + Data + Files option is available only when the backup frequency is set to Now.
  1. Set Schedule(for scheduled backups only). Under Start Backup At, select the time, date, or day for the backup to run.
  2. Set Retention Period. Under Delete Backup After, choose when the backup should be automatically deleted.
Note: You can download the backup during the retention period if you need to keep it longer.

2.1. Download, restore, and delete a backup

To view more actions, hover a backup and click the meatball menu (three dots). Next, choose the desired option:

  1. Select Download to get the ZIP file of the application backup.
  2. To restore a single application, select Restore, enter the application name, and
    click Restore Now to restore your backup.
  3. Select Delete and confirm the deletion.

2.2. Restore all applications

To restore all applications from a different setup:

Note: Ensure all backup files are added in the creator_backup folder within your installed directory in the file location below.
File location: Server_home/creator_backup
  1. Navigate to Backup on the Accounts Setup page, which opens when you click the Setup icon near the top-right corner of the Home page.
  2. Click Restore All Applications in the top right of the backup dashboard.
  3. Choose the required version to restore under Select backup version and click Restore. All backup versions found under the creator_backup folder in your setup will be listed in the dropdown.

Your applications will be restored from the selected backup version.

3. Scheduled backups

You can schedule backups to create an automated backup system that runs at specific time intervals. Learn more about Scheduled backups here.

Note: Scheduled backups is only supported for single application backup type in C5.

3.1. Activate and deactivate a scheduled backup

  1. Navigate to the Scheduled Backups section in Backups.
  2. Toggle the status between Active and Inactive based on your preference for the backup.

3.2. Edit and delete a scheduled backup

  1. Navigate to the Scheduled Backups section in Backups.
  2. Hover over a backup and click the meatball menu (three dots).
  3. Choose the desired option:
  • Edit: Make the required changes and click Done.
     

    Note: All fields except the Application are editable.
  • Delete: Select Delete and confirm the deletion.

4. Points to note

  • Users and portal users are not included in the backup. You’ll need to manually import them after restoring. Learn more on how to export users and portal users
  • In scheduled backups for Single Application Backup, files within your Creator applications are not included.
  • The backup file will not include user sharing details, record ownership information, or options present in the Users field.
  • Upon restoring backed-up data, the Added User and Modified User system fields will display the username of the user who performed the restore action.

     

Related Topics

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com