Forums

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

Prepare passive jira server

Vusal Aliyev August 28, 2019

Customer bought one instance of jira. And want to make passive jira server to use in case of failure of active jira. as a datacenter version can we use shared folders as home folder and restore xml backup during failure of active jira?

 

1 answer

0 votes
Krister Broman _Advania_
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.
August 28, 2019

Hi, are you saying that you have the datacenter version of jira or that you are running Jira in a datacenter?

If you are running datacenter version then i presume that you should already have more than one node, solving the issue. 

If you are running it in datacenter, why not do a full dump of everything? 

I would not recommend the shared home folders solution. Especially if you are planning to restore through XML backup anyway, it sort of defeats the purpose you stated with "passive jira server to use in case of failure".

I think your server people (or subcontractor) can help you create a better solution depending on your setup. 

Vusal Aliyev August 28, 2019

We installed Core version of Jira, but customer wants from us to prepare secondary JIRA server as a backup and use it when actual JIRA gone down. How can we achieve this?

We want to restore JIRA when getting stopped or corrupted. I can not find full backup and restore procedure including db, files etc when needed. 

Or can we automate backup and restore procedure with  script?

I need real exmaple

Krister Broman _Advania_
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.
August 28, 2019

All of this is depending on your setup and Atlassians licensing, please be aware that running two servers simultaneously in production (albeit one being a backup) would probably be a breach in the software terms and conditions. 

Your question will depend highly on your actual environment so you are only going to get some general pointers.

For example we run our customers in virtual servers, that we take a full dump (OS, Jira and everything else) at regular intervals. If we need to restore this we simply read everything back, the backup is stored outside of the server hardware. And we have multiple locations, so if entire datacenter goes down, we read the data back into the alternative datacenter.

The XML backup is a time consuming way to read back the data so most likely your customer would not be happy with that solution. 

Vusal Aliyev August 28, 2019

Have you ever restored from snapshots app server and db server. As I know (I'm not a db engineer) db server can not be restored from vm snapshots. It causes to some errors

Problem is that, for manual restore, I can not find full steps. I read some discussions and see that I can face problems during restore

Krister Broman _Advania_
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.
August 28, 2019

For manual restore with XML backup. 

https://confluence.atlassian.com/adminjiraserver/restoring-data-from-an-xml-backup-938847707.html

What errors are you getting when doing the vm restore? 

Vusal Aliyev August 30, 2019

not restore db from vm snapshot. db guys does not recommend it. Only interesting thing is that such a great tool like JIRA does not contain full backup / restore option. which is mandatory in every enterprise tool. I will try to write script to automate it. 

Suggest an answer

Log in or Sign up to answer