Restoring Azure DevOps Repositories to a Different App (Out of Place)

Updated

On this page

You can restore Azure repositories to a different app for the same or different organization, or to a disk (out of place).

Review the following considerations for out-of-place restores:

  • All repository data in the destination location is overwritten during restores.

  • If the project is present, then the metadata of the project is not modified.

  • If the project is not present, a new project is created with the same description and visibility as the source project. You can specify the name of the project during restore.

  • If the repository is not present, a new repository is created with the same name as the source repository.

  • All existing open pull requests are marked as abandoned, and all pull requests from the source repository are restored as-is.

Procedure

  1. From the navigation pane, go to Protect > Applications > DevOps.

    The DevOps page appears.

  2. Click the DevOps app.

    The DevOps app page appears.

  3. Under Repository groups, in the row for the repository group, click the action button , and then click Restore.

    The Backup Content page appears.

  4. Select the content to restore, and then click Restore.

    You can select the entire organization, or specific projects and repositories on the app.

    The Restore options dialog box appears.

  5. Complete one of the following steps:

    1. To restore to a different app, click the Out of place tab, and then enter the following information:

      • Destination app: Select the destination app for the restore.

      • No of streams: Enter the number of streams to use for the restore.

      • Organization name: Type the destination organization name.

    2. To restore to a disk, click the Restore to disk tab, and then enter the following information:

      • Destination server: Select the destination server for the restore.

      • No of streams: Enter the number of streams to use for the restore.

      • Destination path: Type the destination path for the restore.

  6. Click Submit.