Skip to end of banner
Go to start of banner

How to export multiple spaces by using Confluence Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

This article explains how to export multiple spaces by using CLI in a single action.

Instructions

  1. Create a CSV file with the list of space keys along with file type be exported and with the file names. Please see the below screenshot for reference:

  2. Write an action with runFromCsv and exportSpace together to export multiple spaces. Please see the example action below: 

    --action runFromCsv --common "--action exportSpace" --file CLI.csv
  3. The above action will execute the exportSpace action with values from the CSV file and stores data of all spaces into separate Zip files.

Export type's are  XML, HTML, PDF and default export type is XML



  • No labels