Confluence XML export with attachments does not work

Yesterday I tried to make a XML Backup (Confluence 4.3.2) with attachments but the XML file size was not big as I expected. My attachment folders size was 450MB, and the XML file was only about 40 MB.

At least I restored the data in two steps: I copied the attachments folder AND the XML to the new server and everything works fine -after I installed the Arsenale Lockpoint Plugin on the new server.

I searched a.answers, the documention and the web but I did not find an answer to this problem. Does anyone knows why the attachments are not included in de XML? As I remember the only limit for XML files are 2GB.

Best regards from Hamburg

1 answer

Hi Peter,

Assuming you didn't uncheck the "include attachments" checkbox on the backup page then the most likely reason is that Confluence didn't have enough memory to complete the backup successfully, so I would try to increase Confluence's memory allocation and re-running the backup again.

All the best,
John

Hi John,

both boxes are checked, the sever has 8GB RAM, 2GB swap and confluence Java has got 1024-2048/521 MB RAM . In my opinion this should be enough

the catalina.out says nothing, but the atlassian.log gives a warning:

2013-05-08 13:15:03,931 WARN [http-8090-25] [confluence.importexport.impl.XMLDatabinder] writeObjects Null object found for key:class = com.atlassian.confluence.security.persistence.dao.hibernate.UserLoginInfo, id = 0

I tried to search the internet, but found nothing about this warning.

Best regards from Hamburg, Peter

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

606 views 20 11
Join discussion

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