When it is required to To move data from one Jira instance to another instance, Jira Command Line Interface (CLI) provides the restoreExport action. Use the action to import the data into the new instance that has been exported from an old Jira instance. This article explains how to use the restoreExport CLI actionachieve this use case.
Instructions
In Use the source instance, using exportSite action , to export the complete site backup in a in the source instance into a backup zip file as shown in the example below.:
Code Block theme Midnight --action exportSite --file "exportSite.zip"
The exported backup file will be present under the path is stored in the /home/export directory path of the source instance.- Move the this backup file to the /home/import folder path of the target instance.
Restore the backup or import the exported zip file site from the Jira home/import directory using with the restoreExport action as shown in the example below.:
Code Block theme Midnight --action restoreExport --file "exportSite.zip"
Info |
---|
...
...
|
...
|
...
|
...
|
Info |
---|
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 it on a production environment
|