Edit

Share via


Create, view, and edit backup policies in Microsoft 365 Backup

Create backup policies

To use Microsoft 365 Backup for SharePoint, Exchange, or OneDrive, you need to create a backup policy for each product. A policy represents the backup plan defined by admins for protecting the Microsoft 365 data of an organization.

A policy contains details of what data (SharePoint sites, Exchange mailboxes, and OneDrive accounts) to protect. Although you see the retention period and backup frequency (which defines the restore point objective), those settings aren't currently variable or modifiable.

You can create more than one backup policy for each product (SharePoint, Exchange, and OneDrive) with a limit of 100 policies per product. This allows you to segregate your data by logical partitions such as department, geography, and so on for ease of management and administration. Note that any SharePoint site, Exchange mailbox, or OneDrive account can be part of one backup policy only.

Note

You can also use PowerShell cmdlets to perform these operations by following these steps:

  1. Go to the Microsoft 365 Backup Storage Graph APIs documentation for the specific action you want to perform—for example, creating a SharePoint policy.
  2. Scroll to the Example request section and select the PowerShell tab.
  3. Install the Microsoft.Graph.BackupRestore module as shown in the example.
  4. Run the provided PowerShell command in an Admin PowerShell session to execute the desired action.


Select the SharePoint, Exchange, or OneDrive tab for steps to create a backup policy for that product.

Follow these steps to set up a backup policy for SharePoint sites using Microsoft 365 Backup.

  1. Go to the Microsoft 365 admin center.

  2. Select Settings.

  3. Select Microsoft 365 Backup from the list of products.

  4. On the Microsoft 365 Backup page, in the SharePoint section, select Set up policy.

    Screenshot of the Microsoft 365 Backup page with SharePoint highlighted.

  5. On the Overview page, review the backup features for SharePoint, and then select Next.

    Screenshot of the Overview page for SharePoint.

  6. On the Choose selection method page, you can set up SharePoint sites using any or all three ways. A protection scope is the scope of user accounts within OneDrive that you want to protect with Microsoft 365 Backup.

    Screenshot of the Choose selection method page for SharePoint.

    a. Under Upload a list of sites in a CSV file, you can upload a list of accounts to back up via a CSV file.

    The CSV upload feature for bulk addition of sites or user accounts in the backup policy creation workflow can accommodate a maximum of 50,000 entries per CSV file.

    b. Under Back up sites that match specific filters, you can select Site name or URL contains or Site last modified, or both.

    The rule-based feature for bulk addition of sites in the backup policy creation workflow allows you to add up to 10 site names or URLs at a time. Each keyword can have a minimum of three characters and maximum of 255 characters.

    Note

    The site last modified feature is in preview.

    c. Under Select sites individually, you can search and select sites you want to add to a backup policy.

  7. Select Next to move to the Backup Settings page, where you can provide a name for your policy.

  8. On the Review SharePoint backup policy page, review the information to make sure it's how you want it, and then select Create policy (or Update policy if it's an update).

    Screenshot of the Review SharePoint backup policy page.

  9. The backup policy for SharePoint is created.

    Screenshot of the SharePoint backup policy created page.

    Once the sites are added to a backup policy, it might take up to 15 minutes per 1,000 sites for restore points to become available for restore.

View and edit backup policies

You can edit the scope of OneDrive accounts, SharePoint sites, and Exchange mailboxes associated with a backup policy. As part of edit, you can either add new accounts, sites, or mailboxes to or remove them from backup. Removing accounts, sites, and mailboxes from Microsoft 365 Backup doesn't mean existing backups aren't deleted, rather it means additional backups aren't taken.

Select the SharePoint, Exchange, or OneDrive tab for steps to view and edit backup policies for that product.

Follow these steps to view and edit backup policies in SharePoint.

  1. In the Microsoft 365 admin center, on the Microsoft 365 Backup page, select the Backup policies tab to view the list of all backup policies created in your organization. You can filter the list of policies by SharePoint Service to view the list of all SharePoint backup policies created in your organization. To edit any specific policy, select that policy and then select View details.

    Screenshot showing the view and edit backup policy for SharePoint in the Microsoft 365 admin center.

  2. On the policy specific panel, on the Policy details tab, in the Scope area, select Edit.

  3. You can either add new sites to or remove sites from an existing SharePoint backup policy.

    a. To add new sites, on the Included sites tab, select + Add sites.

    b. Select sites by any method as discussed in the creation section. Once you add sites to the list, follow the prompts to update the policy.

    Screenshot showing how to add sites to the existing SharePoint backup policy in the Microsoft 365 admin center.

    c. To remove sites from existing SharePoint backup policy, on the Included sites tab, select the relevant sites, and then select Remove. Once you're done with your changes, follow the prompts to remove the sites. The removed sites are moved to the Removed Items tab under the Backup policies tab.

    Screenshot showing how to remove sites from SharePoint backup policy in the Microsoft 365 admin center.

  4. Once you make your changes, follow the prompts to update the policy.

    Screenshot of the updated SharePoint sites backup policy panel in the Microsoft 365 admin center.

    Note

    Removing sites from backup policy means no future backups are taken for those removed sites. Existing backups for the removed sites aren't deleted and will be charged.

Rename a policy

  • To rename an existing policy, on the Backup policies tab, select the specific policy from the list of policies.

  • Select Rename. This opens up a new panel where you can specify the new policy name.

  • Note that policy name can have a maximum of 20 characters only and policy names must be unique.

  • Select Rename and the new policy name takes effect instantly.

Dynamic rules

Dynamic rules in Microsoft 365 Archive allow administrators to define backup policies based on distribution lists and security group memberships—eliminating the need for manual updates when group memberships change.



Note

The dynamic rule feature is in preview.

Delete a dynamic rule

When deleting a dynamic rule, you have two options that determine how existing accounts are treated in the backup policy.

Delete rule but continue backups

The dynamic rule is converted into a static list. Backup continues for all user accounts that were included through the rule at the time of deletion. However, future changes to the original distribution lists or security groups—such as users being added or removed—are no longer reflected in the backup policy. For example, if a user is added to a previously included group after the rule is deleted, they aren't automatically added to the backup policy.

Delete rule and stop new backups

The dynamic rule is removed, and no new backups are taken for accounts previously included through the rule. Existing backups for these users remain restorable until they expire based on the configured retention period. You can re-enable backup for these users by manually adding them or by creating a new dynamic rule that includes them.

States of backup

States Definition
Active Protection scope selected under backup policy is being actively backed up.
Paused No further backups are taken but already taken backups are preserved.
Not set up No backup policy is set up for this scope.
Processing A change to backup policy or a restore is in progress.

Multi-geo environments

Microsoft 365 Backup supports the backup of sites and user accounts from both the central and satellite locations if the multi-geo feature is enabled on your tenant. This means that you can add the sites or user accounts from all geos while creating the backup configuration policy via the CSV file upload method. Adding sites via the site picker, search, or filter rules don't currently support multi-geo. The user interface experiences today only support addition of sites in the tenant's central location.

Most importantly, data in the backups honor the multi-geo residency requirements and keep data in the geo you define for it to live.