Home > Get Started > Enable Backup for Cosmos DB

    Download this article

    Enable Backup for Cosmos DB

    Before you enable the backup service for Cosmos DB, go to AvePoint Online Services to configure an app profile to register an app for Microsoft Delegate purposes. You can choose to register a delegated app or use a custom Azure app with the required Delegated permissions.

    After registering the app to your tenant, the owner of each subscription where databases to protect are running must add the AvePoint Online Services - Delegated App or the custom app with Contributor role to the subscription.

    Note that if you have concerns about granting this app the Contributor role, you can create a custom role for this app. For details, refer to Add a Custom Role Using Azure Portal, CLI, or PowerShell.

    Complete the following steps:

    1. Go to Management > App Management in the AvePoint Online Services interface to create an app profile for Microsoft Delegate. For details, refer to Create an App Profile and Grant Consent.

    2. Add this app to all the subscriptions where the VMs, storages, or databases that you want to protect are running and grant this app the Contributor role. For details, refer to Add to Subscriptions and Assign the Contributor Role. This guide will only introduce the steps of adding a role to a subscription through the Microsoft Azure Portal.

    3. Enable the All versions and deletes change feed mode for your Cosmos DB account. For details, refer to Enable All Versions and Deletes Change Feed Mode. To learn why the backup service requires this setting, refer to the Why do I need to enable "All versions and deletes change feed mode" for Cosmos DB service? topic in the FAQ section.

    4. Set continuous backup policy mode for your Cosmos DB account. For details, refer to Set Continuous Backup Policy Mode.To learn why the backup service requires this setting, refer to the Why do I need to enable the Continuous Backup policy mode for Cosmos DB Service? topic in the FAQ section.

    5. After you have completed all the settings above, go to the Backup page of Cloud Backup for IaaS + PaaS, and then configure backup scopes for Cosmos DB. For details on creating a backup scope, refer to Create a New Backup Scope for Cosmos DB