Why doesn't "Restore database from XML work"?

Using:  http://...secure/SetupImport.jspa

Import existing data:

File Name: C:\Program Files\Atlassian\JIRA-7.4.3-back.zip

Error:  

 

Error importing from zip file: "C:\Program Files\Atlassian\JIRA-7.4.3-back.zip". Error: Unable to find JIRA backup (entities.xml) inside of zip file: C:\Program Files\Atlassian\JIRA-7.4.3-back.zip

 

2 answers

This widget could not be displayed.

That feature is looking for a zip file that contains exactly two files with the names

active-objects.xml

and

entities.xml

Given the error message you are seeing, this means that your "JIRA-7.4.3-back.zip" file doesn't actually contain these expected files, or that zip is corrupt.   I would suggest extracting that file with a zip utility like 7zip, or even Windows unzip tool to see what is actually inside.

How was that zip file created?  Did you follow the steps in Using Jira's XML backup utility in order to create the XML backup within the previous Jira installation?   If not, then you won't be able to restore that zip file as a backup of your data.   By default Jira is automatically creating these xmlbackup zip files in the JIRAHOME/export/ folder.  If you still have access to this path on the old system you might be able to find a xml backup there.

This widget could not be displayed.

Its corrupt xml backup. 

Adding to what Andrew said, while taking xml back up make sure you kick out all logged in users first. You can do this by restarting JIRA. Safer way to take xml backup is to start JIRA on different port and then take backup so no users will be able to login.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,498 views 10 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you