This sounds like a failover process. Corentin's answer is spot on, but if it is in the context of a failover:
JIRA is not just a "web server". If you do mean just the web-server (a lot of us stick JIRA behind Apache or Nginx), then you just point the failover web-server at the JIRA.
If you mean "my JIRA server has failed", then, for failover, I'd expect you to have (or build) a new JIRA installation, with no data, on a new machine, with the same version of JIRA as the production system. In this case, yes, you point that at your old database, start the failover JIRA and it'll work. BUT, you will need to reindex it before your users can make use of it as well.
Thank you very much you guy,
one more question , can i copy JIRA_HOME (index,attachment) from the old webserver , and paste it to new webserver , can it work without re-index. because re-index is take time , i would like to make it as quick as possible.
You'll want to copy attachments anyway.
For the re-index, in theory, yes, as long as your process has been "shut down production JIRA cleanly with the stop-JIRA script". Unfortunately, even with a clean shutdown, I've had problems with indices that have simply been copied.
And, remember that jira_home contains the file pointing it to the production database, so you need to exclude that (I'd drop all the working and temporary directories too, but that's not critical)
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs