Documentation for JIRA 4.4. Documentation for other versions of JIRA is available too.

JIRA's data can be migrated between different databases on the same database server, to the same database type on a different server (e.g. from one PostgreSQL server to another PostgreSQL server) or to a different type of database server (e.g. from a MySQL server to a PostgreSQL server).

切り替えを実行するには、どちらか適切な手順に従ってください:

Migrating JIRA's Data to the Same Type of Database

この手順に従うのは、JIRA のデータを次のデータベースに移行する場合です:

  • 同一データベース サーバー上の異なるデータベース、または、
  • 異なるデータベース サーバー上の同種類のデータベース (例. ある PostgreSQL サーバーから別の PostgreSQL サーバーへ)。

JIRA のデータを同種類のデータベースへ移行するには:

  1. お使いのデータベース サーバーのネイティブ ツールを使用して:
    • 同一データベース サーバー インストール上の新規データベースに JIRA データベースをコピーする、または、
    • Copy/migrate your JIRA database to a new database of the same type on a different database server installation.
      (info) Please Note:
      • If you are unable to do either of these tasks, use the Migrating JIRA's Database to a Different Type of Database Server procedure (below) instead.
      • この手順に従って、JIRA のデータを異なる種類のデータベース サーバーに移行することも可能です (例. MySQL から PostgreSQL へ)。しかし、この処理をサポートするツールを見つける必要があります。さらに、この方法に対してはアトラシアンはサポートを提供しません。
  2. 新規データベースへの JIRA データの追加が完了したら、JIRA サーバーをシャットダウンします。
  3. JIRA Home Directory JIRA インストールディレクトリ のバックアップを作成します。
  4. JIRA サーバーのデータベースへの接続を再設定します:
    • If you are using JIRA Standalone, you can use the JIRA Configuration Tool (by running bin/config.sh (for Linux/Solaris) or bin\config.bat (for Windows) in your JIRA Installation Directory), which provides a convenient GUI that allows you to reconfigure JIRA's database connection settings.
    • If any of the following points applies to your situation, you need to manually configure the dbconfig.xml file in your JIRA Home Directory. Refer to the appropriate database configuration guide in the Connecting JIRA to a Database section for the manual configuration instructions.
      • JIRA WAR を使用している
      • コンソール限定で JIRA サーバーに接続している
      • データベース接続を手動で設定することを希望する (設定のカスタマイズが目的で)

Migrating JIRA's Data to a Different Type of Database Server

JIRA のデータを異なる種類のデータベース サーバーに移行するには (例. MySQL サーバーから PostgreSQL サーバーへ)、次の手順に従ってください。

  1. Create an export of your data as an XML backup. See Backing Up Data for details.
    (warning) Please note that JIRA's XML backup utility does not back up attachments (if you have attachments enabled).
  2. 新しいデータベース サーバーに新規データベースを作成し、JIRA のデータを格納します。データベース作成の手順に関しては、JIRA のデータベース接続 で適切なデータベースの設定を参照してください。
  3. JIRA サーバーをシャットダウンします。
  4. JIRA Home Directory JIRA インストールディレクトリ のバックアップを作成します。
  5. Delete the dbconfig.xml file in your JIRA Home Directory.
  6. JIRA を再起動します。データベース接続の設定に関しては、セットアップ ウィザードの実行 のステップ 1 を参照してください。
  7. (上記 2 で作成した) 新規データベースへの JIRA の接続を設定し、Next ボタンをクリックします。
  8. On the 'Application Properties' setup page, click the 'import your existing data' link and restore your data from the XML backup created in step 1 above.