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

Accepted Answer
0 votes

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
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

72 views 0 3
Join discussion

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