Hi.. i am trying to install JIRA ( 4.5 version ) on a new server. the default settings are working fine. Now i want to copy the data from an already existing server to this new server so that both the installations are in sync. But, when i copy the xml file to the new system it is now working and most of the cunfigurations are getting changed which should not happen.
Please advise how i can copy the projects, issues and schemas wihout affecting the certificates.
Hi Harish,
You might want to check out the following documentation:
https://confluence.atlassian.com/display/JIRA044/Migrating+JIRA+to+Another+Server
It covers the major concern of yours, following the steps should get things working in no time :)
Hi There,
What we do to copy the live to our staging, is a database dump to a new database also, we copy the home and installation dir to the exact same directory on the other server so no config files have to be adapted (apache ed.), further more you might want to change the base-url from your jira installation in the database like:
"UPDATE propertystring SET propertyvalue = 'https://jira-staging.DOMAIN.org' WHERE ID=(SELECT ID from propertyentry WHERE PROPERTY_KEY = 'jira.baseUrl')"
then check if it is changed with:
"select * from propertystring WHERE id=10012;"
in over all in this script i made i do the following:
remember to create a new db user that can only lock and copy the live database and does not have write acces! and to change the files that you copy back so your staging wont use the live database.
after this you should be good to go i would say :)
a handy note in this is that we have 2 identical servers in our own cloud with the same base immage so we dont need to isntall / reconfigure apache or java or other software.
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we have a user directory to read from the LDAP server. but after importing the new xml the connection to the LDAP server fails and doesnt allow users to login.
also the email settings are getting overwritten by the new file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Christian is correct, database dump would work in this case as well. However, I'm a bit confuse on what do you mean by certificates? Did you configure SSL or any other external configuration outside JIRA directories by any chance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We'Re doing it via database dump...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.