Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  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

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:
      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 An updated workflow for server feature suggestions.

      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

              • Assignee:
                Unassigned
                Reporter:
                ccurti Caterina Curti
              • Votes:
                19 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: