When you add a Azure DevOps app, a default repository group is automatically created, and includes the repositories that you specify. You can create more repository groups for data that has different backup requirements.
Procedure
-
From the navigation pane, go to Protect > DevOps.
The DevOps page appears.
-
In the upper-right area of the page, click Add DevOps app.
The Configure DevOps dialog box appears.
-
Click the Azure DevOps tile.
-
Click Next.
The Connection Settings page appears.
-
In App name, type a descriptive name for the Azure DevOps application.
-
Choose your authentication method and configure the credentials:
-
To use Personal Access Token (PAT) authentication:
-
Move the Use Personal Access Token toggle key to the right.
-
In Token name, type the token name to access the app.
-
In Access token, type the access token to access the app.
For more information about creating an access token, go to the Azure docs site.
For information about the required access token permissions and user roles, see Personal Access Token Permissions.
-
-
To use OAuth authentication:
-
If you haven't already registered an Azure app for DevOps in the Azure portal, see .
-
Click the add button to create new OAuth credentials.
The Add credential dialog box appears.
-
In Credential name, enter a descriptive name for the credentials.
-
In Tenant ID, enter the Azure tenant ID (this is the same as the Directory ID in the Azure portal).
-
In Application ID, enter the Azure application ID.
-
In Application secret, enter the Azure application secret.
-
From Environment, select the Azure cloud environment where your application or service is hosted.
-
(Optional) To enter the authentication endpoint details, move the Show endpoints toggle key to the right, and then provide the authentication, storage endpoint, and management endpoints.
-
In Description, enter a description of the credentials.
-
Click Save.
-
-
-
Click Next.
The Access Nodes page appears.
-
Complete the following steps:
-
In Access node type, specify the OS of the access node for Azure DevOps.
-
From the Access nodes list, select the access nodes to use for the backup operation.
-
In Staging path, enter the path where you want to stage the projects and repositories.
By default, the Job Results directory is used as the staging path. You can specify a different staging path. The staging path can be either a local path or a UNC path. You cannot specify a mounted path under a drive as the staging path.
-
To browse the app with credentials, move the Impersonate User toggle key to the right, and then type the credentials needed to access the app.
If you provide a UNC path for staging, you must impersonate a user that has access permissions to the UNC path.
-
Click Next.
The Select Plan page appears.
-
-
Select the backup plan to back up the applications.
If you don't already have a backup plan that you can use, to create one, click the add button
. For more information, see Adding a Backup Plan. -
Click Next.
The Backup Content page appears.
-
Complete the following steps:
-
From the Azure services list, select the Azure service to back up.
Boards, Repos, Pipelines, Test Plans, and Artifacts are selected by default. To unselect, from the list, click the Azure service.
-
In Organization name, select the organization.
The organization list fetch might fail when you create a PAT by selecting a single organization instead of all accessible organizations. Enter the organization name manually to proceed with the app creation. Make sure the name of the organization does not contain blank spaces because Azure does not allow them. You can perform a content browse to validate the PAT.
-
For Projects, specify whether to back up all projects or only the projects that you select.
-
Click Submit.
-
Related Topics
For more information about creating a personal access token, go to the Azure Devops documentation site.