Skip to end of banner
Go to start of banner

How to use restoreExport CLI action

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 6 Next »

When it is required to move data from one Jira instance to another instance, Jira Command Line Interface (CLI) provides restoreExport action to import the data into the new instance that has been exported from an old Jira instance. This article explains how to achieve this use case using restoreExport CLI action.

Instructions

  1. In the source instance, using exportSite action, export the complete site backup in a zip file as shown in the below example:

    --action exportSite --file "exportSite.zip"
  2. The exported backup file stores under the path: /home/export directory of the source instance.

  3. Move the backup file to /home/import folder of the target instance.
  4. Restore the backup or import the exported zip file from the Jira home/import directory using restoreExport action as shown in the example below:

    --action restoreExport --file "exportSite.zip"
  • Please note that the above action erases the whole data and projects in the target instance and will replace it with the new data and projects according to the backup file.
  • Make sure to take a backup of both source and target instances for any rollback changes.
  • No labels