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,293,245
Community Members
 
Community Events
165
Community Groups

Error importing doesn't says no entities.xml, but it's there

Edited

I need to import a project from a backup. It looks like it's working then at the last minute it tells me the archive is missing the entities.xml.

https://www.useloom.com/share/20ff4726a2d44b26baad1d573b0f1671

I'm trying to import just one project into a trial version of cloud. I also tried the entire backup untouched, but that gave the same error.

4 answers

2 accepted

0 votes
Answer accepted

Hello,

In what application did you take the backup? 

I made the backup in in the backup manager.Screen Shot 2019-03-02 at 12.07.22 AM.png

So you take a backup from a Cloud instance. Which one you choose Backup for server or backup for cloud? Where do you try to restore the backup? to Jira Server or to Jira Cloud?

I select backup for Cloud and try to restore to a trial version of Cloud with only one empty project. 

It should work. I would contact Atlassian at https://getsupport.atlassian.com

Atlassian can check your backup and try to restore it to your site.

It is weekend now. If you open a ticket to Atlassian today, I think they will answer you on Monday. On weekends they usually handle only critical tickets. But everything is possible.

I had contacted them and they said to try this. I'll just have to see if they can help.  Thanks.

0 votes
Answer accepted
Ismael Jimoh Community Leader Mar 01, 2019

Hi @Ted D 

May I ask if the entities.xml file is in the root of the zip folder or it is within a folder which is in a folder?

When you said at the last minute it fails, do you mean that you were able to pick the project in the zip file and you started the import process only for it to fail?

Lastly, can you confirm where the backup is from (cloud or server) and can you generate a new backup and try with this instead?

Get us a screenshot of what it says went wrong when you perform the import.

The entities.xml folder is in the root folder of the zip. 

I didn't get asked to pick the project, just picked the zip. It goes for a while, then shows this dialog.

Screen Shot 2019-03-02 at 12.06.39 AM.pngThe backup is from Cloud and import is into a trial of cloud. I'll try a more recent backup. The one I'm trying to restore is 3 weeks old. More recent ones don't have the missing project I'm trying to restore.

3 votes
Sugandha Atlassian Team Jun 07, 2020

I encountered the same issue when I was trying to restore the backup from one cloud instance to another via mac, chrome browser. The below steps worked for me:

1. I removed the data and logos directory to another folder so that my backup folder only contains the activeobjects.xml and entities.xml file.

2. Then I went inside my backup folder and select both the xmls(activeobjects and entities) and compress them, which created Archive.zip

3. Then I restore the backup on another cloud instance by selecting the Archive.xml file.

Screenshot 2020-06-07 at 5.10.50 PM.png

This is an excellent answer and worked perfectly for me. Thank you.

Hi @Sugandha 

I tried this approach but am still getting the same error:

error.png

Any idea what I could be missing?

Major points for @Sugandha , this is exactly what I was missing.  The documentation I had reviewed was very poorly compiled. 

Next question that I have is: 
If I'm trying to copy my production site to POC and do not want to grant any additional users a license to this page, is there a way to work around this error? 

Import error

There was an error importing file activeobjects.zip. Following issues were reported:

  • The number of users you're importing is more than the number of licenses you have in this cloud site. Either add more users to this cloud site by upgrading your license, or reduce the number of licensed users in your Jira server or data center instance, take a backup, and import again.

I had the same issue even after multiple tries.Then I removed the topmost folder so that zip file had data and both .xml directly under it. It went on smoothly.

Thanks Anuradaha Das, your answer helped. 

  • MacOS Big Sur
  • from cloud to cloud instance (actually from live site to the sandbox)
  • I choosed only to back up the data so deselected attachments
  • Create backup for cloud
  • Download cloud backup

Using Safari this ended up downloading a zip that auto-uncompressed. When doing the same with Chrome, I got the zip only.

The problem is that there is a folder that has the two files. I compressed only the files, uploaded the zip, works ok.

 

Probably a bug, I guess there is already a bugreport about it.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you