Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Appfire Confluence CLI: Export Spaces

Naman Batra December 21, 2023

I am trying to export individual spaces using the command

-a exportSpace --space "<ABC>" --file "Downloads/{name}.zip" --exportType XML

 

But when I try to import the exported space in another Confluence Cloud instance, it throws an error.

Is there any modification required in the command?

2 answers

0 votes
Craig Nodwell
Community Champion
December 24, 2023

Hi @Naman Batra welcome to the community.  What is the error that it is throwing?

Naman Batra January 4, 2024

Thanks for responding, I was able to connect with Support. The problem was with duplicate keys.

0 votes
Alessandro Cuccaro [ServiceRocket] December 22, 2023

Hello @Naman Batra

Please could you give us a screenshot of the error?

Also, from my experience in exporting from DC/Cloud and re-importing in Cloud, I have noticed that restoring through:

Settings -> Import Spaces

Is safer and much more consistent.

Hope that helps!

Naman Batra January 4, 2024

@Alessandro Cuccaro [ServiceRocket]- Thanks for your response. Is there anyway to import multiple spaces?- CLI/API/Script option?

We have over 200 spaces and don't want to import each manually.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events