Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import an exported confluence page from server1>server2 without losing formatting or macros

Hi all, 

I have two Confluence instances hosted in completed different locations. 

I want to be able to write up & format a confluence page on server1 and then put an exact copy of that document on server2. 

I have tried exporting as a word doc and importing but the macros and formatting get lost. I know there are apps that allow you to format the way in which word documents get imported but that only works if there is a standard. We have too many documents and too many formats to create templates.

The only option I can think of (but have not tested) is the confluence source editor plugin. This way we can possibly export (paste into a text document) the source code from the page created on server1 and then copy/paste it into the confluence source editor (confluence page) on server2? 
If there is any alternative to this option please advise, all suggestions appreciated. 

2 answers

1 accepted

0 votes
Answer accepted
Tessa Tuteleers Community Leader Oct 07, 2020

Hi @lwoolf2 , 

I'm assuming you are talking about this app. This would certainly work if you have this app, and all apps that are used in the content you want to copy) on both instances. You are able to create a page, and afterwards copy the source code. 

In your new instance, you would first need to create a new page, edit that and copy the source code to that page. 

If you need to export-import multiple pages/ an entire space, you could also look at the custom XML export and import the pages in the other server that way. 

Hopes this helps! 

- Tessa

You assume correctly Tessa. 

Yeah I thought this would be the way to go (unfortunately) but at least my logic is supported. Thank you very much :)!

0 votes

I would keep it simple and try to use the built-in functions.

Go to the page you want to copy over to the other Confluence. 

Go to space tools -> content tools -> pages -> export -> xml -> next -> export tools.  Select the page(s) you want to copy and hit export.  Import that xml into your target system and move the pages it imports to where they are needed.

I would like to keep it simple as well (if optional).

I have exported the page using method:

Server1 > Space Tools > Content Tools > Export Tab > XML > Custom Export > Selected the Page > Exported and Downloaded .ZIP file.

Server 2 > Space Tools > Content Tools > Import Tab 

Now the only option is to import via an import directory. See below quote from the import tab:

"You can use this action to import text files from a directory on the Confluence server.

These text files become pages in Confluence, with the following features:

  • The page title is taken from the filename
  • The content is the entire page body


Then there is a free text "Import Directory" and options to "Trim File Extension" and/or "Overwrite existing pages" 

In short I do not think this will work as I cannot select the .zip exported file to import. Not to mention by the sounds the statement it's for text files and will most likely lose formatting and macros. 

Ah, ok, I've been totally unclear on the import side.  I am sorry.

What I should have explained properly was the first clause in my last sentence.  I'll try again:

  • Go to space tools -> content tools -> pages -> export -> xml -> next -> export tools.
  • Select the page(s) you want to copy and hit export.
  • Import that xml into your target system
    • using the admin function for importing a space 
    • This should give you a new space, with identical copies of all the pages you chose to export and you can now
  •  move the pages it imports to where they are needed.

You will need to think about space names if there are clashes, I tend to move or copy the pages I want to transfer into their own space, with a key that is totally different from any in the target system, and then import the whole lot, moving the pages, then killing the new space off.

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

113 views 0 3
Read article

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