Knowledge Base

How to automate Exchange backups

In this article:

Objective

This article explains how to automate on-premises Exchange and Exchange Online backups in RecoveryManager Plus, enabling IT administrators to dynamically include or exclude mailboxes based on custom conditions. This feature eliminates manual effort, enhances backup reliability, and improves data governance by ensuring all relevant mailbox data is consistently backed up without manual intervention.

Use case

An organization's legal department requires all mailboxes from the Compliance Team group to be backed up with a five year retention period for regulatory purposes. Manually adding new members to the backup schedule is inefficient and risks missing critical data if not updated promptly.

Solution

Using RecoveryManager Plus, administrators can create a backup schedule specifically for the Compliance Team group, set the retention policy to five years, and enable automated mailbox selection with the Group filter. This ensures that whenever a new user is added to the compliance team group, their mailbox is automatically included in the backup, eliminating the need for manually updating the mailbox schedule and ensuring continuous compliance.

Using a Microsoft Teams backup solution like RecoveryManager Plus simplifies this process by enabling automated backups of Teams data at regular intervals and downloading or exporting the data easily.

Prerequisites

  • An administrator who is a member of the Organization Management role group.

Steps to follow

The following steps demonstrate how to automate mailbox selection when creating a new backup schedule or for existing on-premises Exchange or Exchange Online backups in RecoveryManager Plus.

Enabling automation while creating a new backup schedule:

  1. Log in to RecoveryManager Plus as an administrator.
  2. Navigate to the Exchange tab > Backup Settings.
  3. Click the Create Backup button located at the top-right corner of the screen.
  4. In the Tenant Details section, select your Exchange environment type from the drop-down.
  5. Choose the tenant or organization for which you wish to create a backup schedule.
  6. In the Backup Details section, provide a name for the backup schedule.
  7. Select the mailboxes that you wish to back up by clicking the add icon Add icon in the Select Mailboxes field, or you can import the mailboxes from CSV files by clicking the import icon Import icon .
    • You can select all the mailboxes by selecting the check box adjacent to the Display Name text. To search for individual mailboxes, use the search icon Search icon.
    • Click the Filter by Criteria option available at the top-right corner of the Select Mailboxes pop-up to filter mailboxes based on certain conditions.
      • You can filter based on attributes like Display Name, Email, Recipient Type, Group, or Mailboxes. You can also apply conditions such as Starts with, Ends with, Contains, or Does not contain for the selected attribute. Add more conditions using the plus icon Plus icon.
      • You can also decide the type of the condition (AND/OR) when you have multiple conditions. You can remove the conditions set using the remove icon Remove icon.
    • After you’ve selected all the mailboxes that you wish to back up, click OK.
  8. To automate the backup schedule, enable the Automate Mailbox Selection toggle.
    1
     

    Select the mailbox criteria you wish to include in the automation policy.

    2
     

    Enable the Automate Mailbox Selection toggle to configure automation for the selected mailboxes.

    Automating mailbox selection in Exchange

    Figure 1: Automating mailbox selection in Exchange in RecoveryManager Plus.

    Select the mailbox criteria you wish to include in the automation policy.
    Enable the Automate Mailbox Selection toggle to configure automation for the selected mailboxes.

    • Set the conditions based on the Display Name, Email, Recipient Type, Group, or Mailboxes in the Automation Settings pop-up.
    • Use filters such as Starts With, Ends With, Contains, and Does not contain to configure the automation policy based on certain conditions.
    • Click the add icon Add icon to add more conditions. A schedule will run every day to discover the created, modified, and deleted mailboxes, and these mailboxes will be validated against the condition set. If any of these mailboxes satisfies the conditions, it is automatically added or removed from the selected backup job.
    • Select the Validate existing mailboxes selection with automation criteria check box to periodically validate the existing mailboxes in this backup schedule against the criteria and add mailboxes that satisfy the criteria and remove mailboxes that don't satisfy the criteria. Click Save.
    • 1
       

      Configure the automation policy using the available filters

      2
       

      Check the box to verify the existing mailbox selection with the automation criteria.

      Automating mailbox selection in Exchange

      Figure 2: Automating mailbox selection in Exchange in RecoveryManager Plus.

      Configure the automation policy using the available filters
      Check the box to verify the existing mailbox selection with the automation criteria.

  9. Select the mailbox folders that you wish to exclude from being backed up in the Mailbox Folders to Exclude drop-down.
  10. Select the desired frequency at which the schedule must run from the options available in the Backup Frequency drop-down.
    • Daily: The scheduler will run once every day at the scheduled time.
    • Weekly: The scheduler will run once every week on the specified day and time.
    • Monthly: The scheduler will run once a month on the specified date and time.
  11. Select the repository in which you wish to store the backups from the Select Repository drop-down.
  12. In the Item-level retention field, enter the number of days, months, or years for which the backups should be stored. Backups older than the specified age will be discarded.

    Note: The minimum item-level retention for Exchange backups is 30 days.

  13. If you wish to encrypt your backup data, check the Encrypt backup data check box and provide the Encryption key.
  14. When backed-up items exceed their item-level retention, you can export them to a PST file before deleting them by turning the Enable Archive Data toggle on.
  15. If you have enabled archive settings, provide the location where you wish to store the PST from the Select Archive Repository drop-down.
  16. If you wish to add an additional layer of security for your PST, check the Protect archived PST with a password check box and provide a password.
  17. Click Save to run the backup at a specified time or Save & Run to trigger the backup immediately.

Enabling automation for existing backup schedules:

  1. Log in to RecoveryManager Plus as an administrator.
  2. Navigate to the Exchange tab > Backup Settings.
  3. Search for the backup schedule for which you wish to apply automatic mailbox selection using the search icon Search icon.
  4. Click the edit icon Edit icon under the Actions column of the corresponding backup schedule.
  5. Enable the Automate Mailbox Selection toggle under the Backup Details section and follow step eight from the Enabling automation while creating a new backup schedule section.
  6. Click Save to run the backup at a specified time or Save & Run to trigger the backup immediately.

By following these steps, you can automate mailbox selection for on-premises Exchange and Exchange Online backups with RecoveryManager Plus.

Related topics and articles

Last updated on: 30-05-2025

Need further assistance?

Fill this form, and we'll contact you rightaway.

Request Support

  •  
  • *
     
  • *
     
  • *
     
  • By submitting you agree to processing of personal data according to the Privacy Policy.

"Thank you for submitting your request.

Our technical support team will get in touch with you at the earliest."

A single pane of glass for AD, Entra ID, Microsoft 365,
Google Workspace, Exchange, and Zoho WorkDrive backup.
  • » Personal WorkDrive backup
  • » Backup retention
  • » Incremental backup