how to migrate from h2 to an external database (SQL Server 2012)
Community moderators have prevented the ability to post new answers.
Export it to xml with the system backup tool, hook up the new database and restore the xml.
As descriptive as your answer is, i thought I would elaborate on it. The sequence of events is as follows
1) login to admin console and back up the database (https://confluence.atlassian.com/adminjiraserver073/backing-up-data-861253815.html)
2) use config program to flip the DB to sql (you need to create a user on the database and create a blank database, and install sql if you dont already have a database you want to use) Also remember to turn on TCP/IP services for the database in sql server configuration manager, so that it can actually talk to the network ( https://social.technet.microsoft.com/Forums/sqlserver/en-US/2cdcab2e-ea49-4fd5-b2b8-13824ab4619b/help-server-not-listening-on-1433?forum=sqlsetupandupgrade ). I couldnt get an AD user to work so i just made a local sql authenticated user.
*make sure you set the collation of the database to Latin1_General_CI_AI (by default in sql express 2016 is Latin1_General_CI_AS (note the S)) , and set " Is_Read_committed_snapshot_on" to TRUE (under options when you create the database)
3) Reboot the server, or restart the jira service. Otherwise you will get database connection errors.
4) When you browse to your jira URL it will go through a "jira is starting up" process, which acts like a brand new server.
5) wehn it comes time to put server name and stuff in, click "import data" at the top and you will presented with another screen which asks you for the file to import. However this file must be located in the ./import directory on the server. So you need to move it from the ./export directory from step 1.
6) all done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As descriptive as your answer is, i thought I would elaborate on it. The sequence of events is as follows
1) login to admin console and back up the database (https://confluence.atlassian.com/adminjiraserver073/backing-up-data-861253815.html)
2) use config program to flip the DB to sql (you need to create a user on the database and create a blank database, and install sql if you dont already have a database you want to use) Also remember to turn on TCP/IP services for the database in sql server configuration manager, so that it can actually talk to the network ( https://social.technet.microsoft.com/Forums/sqlserver/en-US/2cdcab2e-ea49-4fd5-b2b8-13824ab4619b/help-server-not-listening-on-1433?forum=sqlsetupandupgrade ). I couldnt get an AD user to work so i just made a local sql authenticated user.
*make sure you set the collation of the database to Latin1_General_CI_AI (by default in sql express 2016 is Latin1_General_CI_AS (note the S)) , and set " Is_Read_committed_snapshot_on" to TRUE (under options when you create the database)
3) Reboot the server, or restart the jira service. Otherwise you will get database connection errors.
4) When you browse to your jira URL it will go through a "jira is starting up" process, which acts like a brand new server.
5) wehn it comes time to put server name and stuff in, click "import data" at the top and you will presented with another screen which asks you for the file to import. However this file must be located in the ./import directory on the server. So you need to move it from the ./export directory from step 1.
6) all done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.