Can we download configuration/settings of current running cluster of tools jira, confluence BB?
Asked by Asarudeen S:

Currently we are working on tool upgrade on jira, confluence and bitbucket. We need to download the configuration/settings of current running instance of tools.

Can we download the settings or configuration of current instance, if we have admin access? If so please provide the details.


Answers:
author: Mahesh Chiliveri
body: Hi [@Asarudeen S](/t5/user/viewprofilepage/user-id/5042127) it depends on the type of instance that you are running for Atlassian if it is an Data Center version hosted on cloud then cloud formation template will have complete details including heapsize and database details with the admin user and password etc. If standalone hosted application on prem data center then you will have to take the backup of your home directory and installation directory which does contains complete setting etc.

comments: author: Asarudeen S
body: [@Mahesh Chiliveri](/t5/user/viewprofilepage/user-id/3981033) thanks for your response. We are not on cloud.

Could you please let me know what are the files are having configuration or settings in home and installation directory?

Could you please provide the details for the tools confluence, bitbucket and jira also.

(Our purpose is, we are working on tool upgrade, we want to compare the all configuration of running instance of a these tools before and after upgrade.)


author: Mahesh Chiliveri
body: [@Asarudeen S](/t5/user/viewprofilepage/user-id/5042127) Than you for the update please refer the link below which provides which files and folders you need to compare.

[Pre-upgrade planning tool \| Atlassian Support \| Atlassian Documentation](https://confluence.atlassian.com/support/pre-upgrade-planning-tool-973479832.html)

Files we check for modifications {#toc-hId--524998484}
------------------------------------------------------

As part of your upgrade plan, we check the following files in your current installation to see if they contain custom modifications. If any of these files have been modified, we prompt you to re-apply the change as part of the upgrade steps.

### Confluence files {#toc-hId-165562990}

We check all files under `<install-dir>/confluence`

### Jira files {#toc-hId--1641891473}

We check all files located under:

* `<install-dir>/atlassian-jira`
* `<install-dir>/bin/setenv.sh`
* `<install-dir>/conf/server.xml`


author: Asarudeen S
body: [@Mahesh Chiliveri](/t5/user/viewprofilepage/user-id/3981033) thank you for your support and guidance


author: Asarudeen S
body: [@Mahesh Chiliveri](/t5/user/viewprofilepage/user-id/3981033) are there any api's to pull the configuration data in any format like json?

We have similar scenario for sonarqube and we have api to fetch the configuration settings of the tool.


author: Bastian Stehmann
body: Hi [@Asarudeen S](/t5/user/viewprofilepage/user-id/5042127) ,

Welcome to the community.

What exactly do you mean with downloading the configuration.

Each application can create a backup, that contains configuration and content.

For Jira, this is the documentation, other applications are similar.

<https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html>

comments: author: Asarudeen S
body: [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496) thanks for responding my question.

Our scenario is we are upgrading tools confluence, bitbucket and jira to newer version.

We want to get all the configuration/settings of all the tools before and after upgrade for comparing the configuration.

Could you please let me know is there any way to get that?


author: Bastian Stehmann
body: Hi [@Asarudeen S](/t5/user/viewprofilepage/user-id/5042127) ,

If you just want to compare the configuration files with start parameters etc, the installer for the application update will tell you which files has been changed in the file system and you have to check/compare that files listed there.

Usually it will be something like server.xml or setenv.sh

If you want to compare also the data inside the application, you have to create a backup and compare the backups before and after, I don't think there is any other way. But I don't think that the results from that comparison will be really helpful, because all other changes the upgrade has caused, will be listed there then also.


author: Asarudeen S
body: thank you for the support. [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496)


author: Asarudeen S
body: are there any api's to pull the configuration data in any format like json?

We have similar scenario for sonarqube and we have api to fetch the configuration settings of the tool.


Tags: bitbucket

confluence-server

jira

server