periodically migrate production jira to test jira

I have two identically set up hosts running JIRA 7.x    One is a test server, which is used only for testing OS patches, JIRA upgrades, plugin updates, etc before doing so on the production server.    I have the same users on both hosts.

 

I would like to occasionally "refresh" the test server to contain all the projects, etc from the production server to the test server.    Can this be accomplished by simply dumping and migrating the database data from the production database to the test one?   I'm assuming all the configuration, users and groups, credentials and so on are in the database and not on the file system.    Of course I realize there are some configurations on the file system (I have an edited setenv.sh, dbconfig.xml, and system.xml) but other than host names, would everything be the same onthe filesystems?

1 answer

Yes, you can copy your production database to your test database server. However you will need to ensure that you go in to your test instance after the refresh and update the base URL in JIRA settings to point to your test instance, as well as anything else that still points to the production instance.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

152 views 1 17
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