Moving your Bamboo data to a different database

このページの内容

You can move data to a different database by installing a new Bamboo instance and updating the settings. Alternatively, if the database systems are the same or compatible, you can move the data manually.

In the initial Bamboo configuration, the database can be set to:

  • an internal HSQL database (not recommended for production environments) OR
  • an external database.

 

関連情報記載ページ:

To move your Bamboo data to a different database:

  1. Export the data of the original Bamboo instance as described in Exporting data for backup.
  2. Stop the original Bamboo instance.

    You may have to disable automatic Bamboo start if the instance was configured to run as, for example, a Windows service.

  3. Install a new Bamboo instance as described in Installing and upgrading Bamboo

    重要

    If you are installing a Bamboo instance on the same server, make sure that the new Bamboo instance doesn't have the same

     <bamboo-install> or <bamboo-home> paths as the original Bamboo instance. Using the same paths may result in data loss. For more information, see Locating important directories and files.

  4. Start the new Bamboo instance.
  5. In the Setup Wizard:

    1. Step 1: Make sure that the new Configuration DirectoryBuild Data Directory and Build Working Directory are not located in the same place as the original Bamboo instance directories.

    2. Step 2: Select a new database:
    3. Step 3: Select Import existing data and specify the path to the file that you exported at the beginning of the procedure. 

      The data import might take a while.

  6. Once the data is ready, restart the new Bamboo instance.
  7. Reindex the data as described in Reindexing data.
  8. Verify that your build results and system settings are correct.

Alternative DB migration

If the database systems are:

  • the same (for example, you are moving from PostgreSQL to another PostgreSQL) OR
  • compatible (for example, you are moving from SQL Server 2005 to SQL Server 2008),

you can move the data manually. To migrate the data:

  1. Stop the Bamboo instance that is using the source database.
  2. Manually transfer the data.
  3. Go to <bamboo-home> and open the bamboo.cfg.xml file.
  4. Provide the properties of the new database.
  5. Start the Bamboo instance.

 

最終更新日 2017 年 7 月 20 日

この翻訳に満足しましたか?

はい
いいえ
この記事についてのフィードバックを送信する

お探しの情報が見つかりませんか?

コミュニティへの質問

Powered by Confluence and Scroll Viewport.