Imported a page into a space. Accessing the page shows a display of corrupted characters. Why ?

Using Confluence 6.4.0

On a Space. Select Space Tools -> Contents Tools and then export tab. Select XML export format. Select Custom Export. Select the one page of interest and hit export tab.

The Exporting Space Dialogue information is shown below

  1. Running task
  2. Exporting Space - In Progress

Exporting Space

Time Elapsed: Less than a second
Time Remaining: Unknown (estimated)
Completion: 100% complete

Export complete. Download here.


I have assumed the export has completed as zip file is created. A bit confusing as there is a display of 'Running task' and  In -Progress. Is this a problem ? The zip file consists of


              attachments directory + various subdirectories



I then go onto the same server and access another space.  I import the page from the import directory. A page called has been created as expected. I select the page and unfortunately the following is displayed:-

PK ��*Lattachments/PK ��*Lattachments/65576/PK ��*Lattachments/65576/65578/PKU�*LU~j: x attachments/65576/65578/1mVw8\����#��c��Q�#U� �D���{��F�f�V!jSU��M=���F��6}�}�w\����uι��w_�}�'��1#`��Z_�l����b7���:�P�% Ya<Ѿ(�$��Cj˜y������8.�+������g�xU6I���b���!�pJM�$�Ko&Q_OS�̺���>��.�u��n�R�v����ѹ���R~$Ĩ@c��R�D��R���>ޥ��'� #䯃��MLX�N���뤢k��'���$@O�F��J�r��:V�%�L�HX����jV;60#8ܵ��qQ�-m���U�<�^v f�4�@���Η�+�Nϥ��}g�Л�����cZ}��ñr���7��b�y��b���ب"{(��$kh��r�J��C��W���+�llj"P��*��b���=��o~� ;]���R�:��!&�-���fW�!�ħד�{+�����*���)���I�og(�Y��#rلԑ+bo��\'���;'x' w;^���$�O��f�w����잚�;����9�L65�ߝh�Tr<���p�>a�ɟ���ʜ��F1��Ѱ�i�P����� �����WC�4旿��OPj���w��Y_�eޢU�fB�矜o���O��mM��g]�� 

goes on and on.....  

Cannot see any Errors in the atlassian-confluence.log file during export or import.

Any ideas what is wrong ? Thanks

1 answer

1 accepted

1 vote
Answer accepted
Ann Worley Atlassian Team Jan 10, 2018

Hi Zbigniew,

Thanks for the detailed description of the steps you took. From that,  I have an idea what's happening.

You would think that an export from Space Tools would be imported from Space Tools but in fact, to import a space you have to go to Confluence Admin>Back-up & Restore (not Confluence Admin>Backup administration, and not at the space level.)

The import tab on the Space tools>Content tools page is "to import text files from a directory on the Confluence server." It's not for XML back-ups.

It sounds like you may be trying to export pages from one space to another in the same instance. The best way to move pages from space to space is to use the copy or move option from the "..." menu at the top right of each page.



Hi Ann,

Thank you for your reply. I must admit reading through the documentation was quite confusing and there had to be some obvious explanation to the problem. I've learnt that the Export xml functionality is for a 'space' and not for a 'page' or 'pages' which was my downfall.

 I followed your recommendations above for exporting and restoring 'space' and I was able to import an exported 'space' from another Confluence system. Thank you. The import worked but initially I couldn't see the new 'space' in Spaces -> Space Directory. I then accessed Confluence Administrator -> General Configuration ->Space Permissions and I could see the new 'space' but its Operations were set to Recover Permissions. I clicked on the Recover Permissions and allowed myself access to it and Operations changed to Manage Permissions. The new 'space' is now visible in Spaces -> Space Directory. I will try the 'pages' copy/move at a later date. Note I had Confluence administrator permissions.

Ann Worley Atlassian Team Jan 11, 2018

Good show! Happy you were able to import successfully.

To make matters more confusing, you can do a custom XML export from Space Tools where you choose only the pages you want to export, but they still have to be imported as a space on the destination instance, under Backup & Restore on the Admin page. (If the destination instance already has a space with that name, it will fail.)

Please reach out with a new question if there is anything we can help with.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

237 views 2 10
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