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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,462,143
Community Members
 
Community Events
176
Community Groups

How to export a space using CLI

How to export a space using CLI

3 answers

@Sudhir _Appfire_

So, after you've exported a space from Cloud with exportSpace, how is that then re-imported to Cloud? (besides through the UI)

The action restoreExport appears to only be viable with Server/DC.

Hi @Hayath Khan K

We are from BobSwift support team. 

We have opened a Support Request SUPPORT-2906 for this issue. Could you please try to access the ticket SUPPORT-2906 and signup to our portal for further discussion on this ticket.

You can export a space using CLI by following below steps:

  1. Download the CLI for the client by downloading latest atlassian-cli-8.8.0-distribution.zip from here
  2. Go to atlassian-cli-8.8.0 folder and run the below command using --action exportSpace
 ./confluence.sh --server <confluence url> --user <username> --password <password> --action exportSpace --space "<space key>"  --file "<path where to export the file>/exportSpaceHtml.zip"  --exportType "HTML"

    

Please let us know if you have any questions and we are happy to assist you.

 

Regards,
Sudhir

@Sudhir _Appfire_  Thanks for the details about export.. I see there is an action restoreExport but it seems like we have to get into target server and run it, is there any possibility to provide target instance url and run it from  source instance itself.

Also I tried copyspace action where we can provide target url but I can see only spaces are copied there not pages and other details of it..

 

Could you help me on this.

 

Thanks

Mohamed

0 votes
DPKJ Community Leader Aug 26, 2019

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events