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

Need to provide the ability to restore a single repository from backup

    XMLWordPrintable

Details

    • 1
    • 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

      With the current backup and restore functionality, there are two options:

      • Backup Client
      • DIY Backup

      With either option, there is no ability to restore a single repository. Both options require that you restore the entire instance.

      This is not very efficient when you are trying to restore a single repository that was accidentally deleted.

      The only other option would be to restore the entire instance to a testing or staging instance and then use the Data Center "Export and import projects and repositories" functionality to export the single repository and restore the repository into the production instance.

      There are several issues with this:

      • The time it takes to restore, export, and then import is extensive
      • The export feature will not export many of the details of a repository. Therefore, those items will not be imported.
      • If the repository is a fork, exporting will export the parent repository. This can have other implications (duplicate parent repository that gets imported into a different project). If the repository is a parent of forks, the restoration will not reconnect those dots.

      In Bitbucket 7.14, the ability to block repository deletion was added. However, it is still possible that a repository could make it through the checks and balances and only after being deleted, learn that there was important information and a restoration is needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cdrummond Craig Drummond
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: