Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to copy an index from one server to another?

Michael Johnson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2018

Hi,

We're in the process of migrating our Jira production instance from one server to another. The DB is MS SQL so we'll be doing a backup and restore to move it.

My question is this, in order to minimize downtime on the day of the migration, is it possible to copy the Jira index from the old server to the new one thereby avoiding the need to run a Full Index? I would copy it at the same time as we backup the old DB prior to restoring it to the new DB.

I ran through this process once before on a dry run and I honestly can't remember if I ran a Full Index by choice or if Jira required it. Regardless, I'd like to avoid having to run one on the day of the migration.

Thanks for any help,

Michael J

2 answers

1 accepted

0 votes
Answer accepted
Michael Johnson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2018

I ran an index snapshot on my old server, then imported it to my new server during the migration. After completing most of the migration steps, I then ran a background index.

0 votes
Fabio Racobaldo _Herzum_
Community Champion
September 17, 2018

Hi Michael,

based on this documentation https://confluence.atlassian.com/adminjiraserver072/migrating-jira-applications-to-another-server-828787651.html you could transfer your indexes over servers.

Btw, my suggestion is to perform a reindexing after the migration. Take in mind that if you delete indexes and restart, the reindexing process should be faster.

Hope this helps,

Fabio

Michael Johnson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2018

Hi Fabio,

Unless I'm mis-reading the documentation, that seems to apply specifically to using the XML backup and restore method for the data, which we're not using. We're backing up and restoring the DB in SSMS.

I found the following which seems to indicate you can force an index snapshot. If I can make that work, then maybe I can restore the snapshot from the old server to the new server. Or maybe use the nightly one?

https://confluence.atlassian.com/jirakb/jira-indexing-snapshot-720638070.html

Thanks, Michael J

Fabio Racobaldo _Herzum_
Community Champion
September 17, 2018

Hi Michael,

indexes are at disk side (JIRA_HOME/caches/indexes) so it should work.

Suggest an answer

Log in or Sign up to answer