Specified tabular data required for SQL DB synchronisation


We have JIRA and Confluence both on a Production(LIVE) server as well as on a Development(QA) server.

Obviously we test most things on the Development(QA) server before we send it to Production(LIVE).

However we would like to keep the data on both synchronised, excluding certain information - such as basic/advance configuration data and user installed plugins.

From an understanding JIRA and Confluence stores and receives data form a database with a tabular structure,

So we were hoping you would help to assist us in listings these tables so we can run a SQL query and try sync the data between Production and development.

I hope I am making myself clear and that you will have an understanding of what exactly my requirement is.

1 answer

1 accepted

0 votes
Accepted answer

That's asking for trouble. The data in Jira is quite complex, and to preserve some settings without affecting other is not as simple as replicating some tables and not others - you need specific lines from tables and you need to know what they do, how they interact and which ones to drop/keep/update

If you insist on doing this, then you'll need to analyse which config tables hold the data you want to preserve and work out a merge routine for them.

Frankly, I'd drop the whole lot and just work from a copy of live, started with the "don't send/receive emails or trackbacks" flags set. That way, your "rebuild data" process is "stop test, replace database with copy of live, start test, reindex"

Oh, yes, and even if you do a partial replication, you are still going to need to stop the test system while it runs, then restart it and reindex afterwards.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,100 views 4 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you