Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,517
Community Members
 
Community Events
184
Community Groups

How to migrate attachment from one JIRA server to another

We are migrating JIRA instance from one server to another. I would be using xml backup to restore data in new machine.This allows me to migrate the data(including ticket) but not attachment. How should I migrate the attachment.

1 answer

0 votes
Amith Mathur _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 20, 2019

Hi @Neeta Dubey,

Attachments reside in the <JIRA_Home_Dir>/data folder. Therefore, you will need to manually rsync or copy the data folder to the new server, JIRA Home Directory. 

Thanks,
Amith Mathur 

Thanks Amith,

I followed below steps.

Restore xml back to the new machine. 

copied attachment folder from source machine- Path: C:\Atlassian\Application Data\JIRA-Ontrak2\data\attachments

 

Pasted to Destination machine- Path - C:\Atlassian\Application Data\JIRA516\data\attachments

 

restarted JIRA on Destination machine.

Tested it by opening the ticket# however it doesn't show attachment on the Destination machine. URL of test machine is different from prod machine however if i open the ticket they are same on both test and prod machine.

Please tell me i did something incorrect.

Could some one please suggest me on this issue. 

Amith Mathur _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 22, 2019

Hi @Neeta Dubey , 

Did you changed the Base url, if it is different and pointing to the correct IP Address? Did you ran the indexing once? 

What is the message you are seeing when you try to open it ?

Thanks,
Amith Mathur 

I have the same problem. Copied attachment files over to new server. All issues data has been migrated. But attachments dont show in jira ui. They are copied correctly into data/attachments/<iproject>/<issue key>/.  Can you please let me know if you figured it out?

Like Milad Khakpour likes this
Lacey McDonnell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 29, 2023

For anyone experiencing issues with this - please try full reindexing as Amith said above.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events