Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Import Confluence Page (not Space) from Server A to Server B

Brian Catanzaro January 7, 2019

I am trying to copy a page (and its children) from one Confluence server to another.

By way of example:

  • COPY:  Page "Parent" on Server A / Space I and all its children
  • PASTE:  Server B / Space II

I have backed up sites before with XML and thought this would work.  However, the import failed because the Key for Server A / Space I conflicts with an existing Key for Server B / Space III.  

The Servers are behind different firewalls / VPN's so I cannot easily use my local computer's clipboard to copy / paste.

Suggestions?

1 answer

1 accepted

1 vote
Answer accepted
Prakhar Srivastav {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2019

@Brian Catanzaro

You can create a temporary space and move the pages in the space and then take back up of that space.

On the target server recover this space. Once the pages are on your target server then you can move them to any other space.

 

Regards

Prakhar

Prakhar Srivastav {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2019

Alternatively you can use Bobswift Run CLI Actions or Confluence CLI to achieve the same with single command.

See the link below :

https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/10584068/Reference#Reference-copyPage

This action has target server as command parameter which can be used in copying page from one server to other.

 

Regards

Prakhar

Brian Catanzaro January 8, 2019

Seems that I need to enforce a unique key to the temporary space to ensure that it does not conflict with spaces in Server A (export server) or Server B (importing server).

It did not appear that one can change the key after a Space has been created.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community events, ace, engineering, confluence feed, power of feed, atlassian ask me anything, atlassian confluence answers, ace rsvp, atlassian community events rsvp, atlassian magic

“How We Built This” ft. Atlassian Confluence Engineers

Meet the engineers who are making the Confluence magic happen at Atlassian ✨

RSVP now!
AUG Leaders

Upcoming Confluence Events