Restoration full backup with plugins and every modifications

Lalit Pathak January 24, 2022

Hi,

My server got corrupted and I create a new server after XML restoration I got data and projects but I didn't get back my plugins and images template.

Please let me know how I can get all the same with existing ones like plugins and their configurations.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2022

The XML contains all the app settings in it (where they are configured inside Jira's UI), and that should just reappear when you re-enable the app.

The apps though are kept in the home directory of the system - a minimal backup of Jira should include the database (either a database dump or the XML you have) and the home directory which contains all the apps, attachments and app data (including config that's done on the disk rather than in the UI)

You can just re-install your missing apps from the marketplace, but if they have any config that was done on the disk, you're going to need to re do that or get a copy from the old installation.

Lalit Pathak January 24, 2022

Thanks for the reply,

Suppose I have JEMH (Mail handler) and zephyr tool and lots of setting done in this so how I can get all the settings related to this.
and for attachment, if I paste attachment at same location where was in older server so it automatically comes in as issue ??

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2022

JEMH and Zephyr both store their data in the Jira database, so all you should have to do is install the apps from the marketplace again.

Your attachments should be copied into exactly the same place as they were on the old disk.  None of them will "come in as an issue", they will simply become readable again when someone previews or downloads one that is attached to an issue.

Lalit Pathak January 25, 2022

Hi,

Thanks again,

one more thing here, I have restored all images as per the old location but am not able to see images (Logos),

Jira-image error.JPG

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2022

Ah, I was talking about attachments, not images you may have uploaded to replace/add icons for priority, issue type or other image based fields.  I can't remember where those are kept, even if they're under the home directory.

vaddhi raghunath May 21, 2024

Hello , I have same problem ...I am using jira with mysql Database .... now I am trying to build new jira and new my sql db instance ... So I restored the db in the new mysql DB ... I got all the data but not all plugins (jira apps ) . So Do i need to install the plugins from market place again ? or is there a way , we can simply restore from old to new jira ? 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2024

hI @vaddhi raghunath 

Yes, this happens a lot - apps (plugins) are physical installation files that are installed on the disk, they're not kept in the database.  (Almost all of them are monolithic single .jar or .obr files,so there's only one file to worry about for each app)

Their data is usually held in the database though, so your move has not lost you anything.

When you move your Jira from one server to another, you will lost stuff (including plugins) if you only move the database. 

The Jira home directory needs to be copied to the new server as well.  You don't strictly need all of it, but you should really copy the whole thing over in full.  The absolute minimum you need to copy are the attachments, but if you want your new install to work without having to rebuild anything else, you need to copy the indices and plugins as well.

However, if you have only copied the database and attachments, then you can restore a working Jira by installing all the missing plugins from the UPM (you won't need to configure most of them - their settings are almost all in the database), and then run a full locking re-index to restore your missing index.

Suggest an answer

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

Atlassian Community Events