As an admin, I would like the Bitbucket Backup client to support MySQL 5.7.9+

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: None
    • Severity 3 - Minor
    • 3

      Problem Definition

      Bitbucket Server supports MySQL 5.7.9+ (Supported platforms while the Bitbucket Backup Client does not.

      When attempting a restore using the Bitbucket Backup Client (e.g. version 3.3.1), the restore is not successful due to the database version being considered unsupported.

      bitbucket_backup_client.log
      bitbucket-<date>.tar could not be restored
      com.atlassian.bitbucket.internal.backup.client.RestoreException: The target database is MySQL 5.7.17. This database is not supported; it has known issues when used with Bitbucket. Please use a supported database. Refer to the Bitbucket documentation for more information about which databases are supported.
      	at com.atlassian.bitbucket.internal.backup.client.DefaultRestoreClient.validateDataSource(DefaultRestoreClient.groovy:202) ~[bitbucket-restore-client.jar:3.3.1]
      	at com.atlassian.bitbucket.internal.backup.client.DefaultRestoreClient.withDataSource(DefaultRestoreClient.groovy:209) ~[bitbucket-restore-client.jar:3.3.1]
      

      Suggested Solution

      Support MySQL 5.7.17.

      Workaround

      Restore with an older version of MySQL and migrate to MySQL 5.7.9+

      1. Install Bitbucket Server using an earlier database on MySQL 5.6
      2. Use the instructions to migrate to a MySQL database to migrate the database to MySQL 5.7.9+

      Use the DIY backup
      If the source and target database version match, you can use the following.

      1. Use the DIY backup. This will run a database dump instead of migrating the data.

            Assignee:
            Christian
            Reporter:
            Caterina Curti
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: