/
How to import multiple spaces using Confluence Command Line Interface (CLI)
How to import multiple spaces using Confluence Command Line Interface (CLI)
This article explains how to import multiple spaces using Confluence Command Line Interface (CLI) with a single action.
Instructions
- Create a CSV file with file as column name which must contain the file names of exported spaces:
Combine runFromCsv, with the --file parameter, and restoreExport 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 "
- Additionally, --noIndex parameter can be used to avoid content re-indexing after restore.
- Only XML export type file can be restored with the restoreExport action.
- Place the zip files in /home/restore directory for the 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.
Related content
How to export multiple spaces using Confluence Command Line Interface (CLI)
How to export multiple spaces using Confluence Command Line Interface (CLI)
Read with this
How to copy a space using Confluence Command Line Interface (CLI)
How to copy a space using Confluence Command Line Interface (CLI)
Read with this
How to import multiple spaces with a sleep value using Confluence Command Line Interface app (CLI)
How to import multiple spaces with a sleep value using Confluence Command Line Interface app (CLI)
Read with this
How to copy space between two different Confluence instances
How to copy space between two different Confluence instances
Read with this
How to fix the Insufficient permissions error when copying spaces when using the Copy Space for Confluence app
How to fix the Insufficient permissions error when copying spaces when using the Copy Space for Confluence app
More like this
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
More like this