Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 use the 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 example below.
    Code Block
    --action exportSite --file "exportSite.zip"

  2. The exported backup file will be present 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 site from the Jira home/import directory using restoreExport action as shown in the example below.

    Code Block
    themeMidnight
    --action restoreExport --file "exportSite.zip"



    Info
    titlenote

    Please note that the above action will erase all the old data and projects in the target instance and will replace it with the new data and projects according to the backup file.


Info

Make sure to take a backup of both source and target instances for any roll back changes.