Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-11008

As an admin, I want to be able to restore a repository from a backup including all its details (e.g. pull requests, permission configuration, hook configuration)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • 32
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      When a repository is corrupted, administrators should be able to restore it and all the related details.
      At the moment, it is only possible to restore the Git repository itself by following the steps on this guide:

      Suggested Solution

      Provide a way to restore a repository from a backup.

      Workaround

      Using the Data Center Migrations available since Bitbucket Data Center 5.14, perform the following steps:

      • from a Bitbucket Server backup, create a new temporary instance to be used for the steps below
      • export the affected repository from the temporary instance
      • import the affected repository into the production instance
      • rename the imported repository in the production instance

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ccurti Caterina Curti
              Votes:
              46 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated: