Unable To Find JIRA Backup (entities.xml) Inside Of Zip File Error
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When trying to import a JIRA Cloud backup into a new JIRA installation, the following error occurs:
Error importing from zip file: "/path/to/backupfile.zip". Error: Unable to find JIRA backup (entities.xml) inside of zip file: /path/to/backupfile.zip
However, the backup does contain the file and is not corrupted.
Causes
- The backup that was created is too large due to attachments that were included.
- The files are in a subfolder inside the zip archive, or their names are not exactly
entities.xml
andactiveobjects.xml.
Workaround
- Unpack your backup file, this will create three files.
- Create a new zip file containing entities.xml and activeobjects.xml. Make sure the files are on the root of the archive, and that their names are correct.
- Import this new zip into JIRA following the Migrating from JIRA Cloud to JIRA Server.
- Once the import is complete, copy the data folder into the new
<jira-home>
folder.