Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts Management

Mary Mark January 8, 2023

Hi Atlassian Community

Looking for your guidance to find out if there is a way / tool to backup configuration, post-functions in workflows and scripts in the JIRA environment.


The use case is as follow: When environment refresh occurs from PROD to lower environments namely DEV and UAT. The PROD data is copied over to DEV and UAT however we have scripts such as behaviours, rest endpoints that reference to data hosted on SQL server production environment (server name, database name, userid and password all reference to prod).

Once refresh completes and DEV/UAT points to the PROD data, we need to manually update the scripts to remove all PROD references and ensure that the code points to DEV/UAT.

Is there a means such as a tool or method to store/capture this code elsewhere? Is there a way to avoid this manual work if possible?

Looking for recommendations/suggestions and best practices for guidance for code/script management

Thanks!

1 answer

0 votes
Vish Reddy _Revyz_
Community Champion
January 8, 2023

Hi @Mary Mark 

Couple of things to consider for backing up your data from your Jira Server:

1. XML Backup as called out by Atlassian

2. You could do a native database backup using database backup tools as recommended by Atlassian

3. Write your own scrips to backup specific objects

 

Option #1 is the easiest, assuming your data volume is relatively low.

Blog reference

Mary Mark January 9, 2023

For the database backup, for example from a PROD to a DEV environment do file systems such as the install, apps and home directories need to be copied over as well so that when the PROD data is loaded into DEV environment, it points to DEV? 

Thanks.

Vish Reddy _Revyz_
Community Champion
January 9, 2023

Hi @Mary Mark 

I am not 100% sure of apps, you may want to give it a try and see? 

BTW - How do you protect you Jira data today? i.e. if there was a hardware failure, how would you address that scenario?

 

Thank you

Vish

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.11
TAGS
AUG Leaders

Atlassian Community Events