Restoring GitHub Repositories to a Disk

Updated

On this page

You can restore a GitHub repository group to a disk.

Procedure

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

    The DevOps page appears.

  2. Click the GitHub app.

    The GitHub 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 the individual repositories.

    The Restore options dialog box appears.

  5. To restore to a different app, click the Out of place tab.

  6. From the Destination app list, select the app to restore the repository to.

  7. In the No of streams box, enter the number of streams to use for the restore.

  8. From the Account type list, select the account type—personal or business/institution—and then enter the name of the account or organization.

  9. On the Restore to disk tab, from Destination server, select the server to restore the repository to.

  10. In the No of streams box, enter the number of streams to use for the restore.

  11. In the Destination path box, enter the path to restore the data to.

  12. Click Submit.

Results

  • All repository data in the destination location is overwritten by the restored data.

  • If the repository is present, then the name, description, and visibility are not modified.

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