Skip to end of banner
Go to start of banner

How to import multiple spaces 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 3 Next »

This article explains how to import multiple spaces using Confluence Command Line Interface (CLI) with a single action.

Instructions

  1. Create a CSV file with file as column title, which should contain the file names:
  2. Combine runFromCsv with the --file parameter and restoreExport action to import multiple spaces. This example works based on the contents of the CSV file that is required for the restoreExport action with relevant parameters:

    --action runFromCsv --file restore.csv  --common "--action restoreExport "
  3. Additionally, --noIndex parameter can be used for unchecking build reindex.


  • Only XML export type file can be restored using restoreExport action.
  • Place the zip files in /home/restore directory for restoreExport action.
  • It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter, to verify the behavior before deploying on a production environment.
  • No labels