Versions Compared

Key

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

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 achieve this use case using restoreExport CLI action.

Instructions

  1. 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 below example:

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


    The exported backup file stores under the path: is stored in the /home/export directory path of the source instance.
  2. Move the this backup file to the /home/import folder path of the target instance.
  3. Restore the backup or import the exported zip file from the Jira home/import directory using with the restoreExport action as shown in the example below:

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


Info
  • Please note that the above action actions erases the whole entire data and projects in the target instance and will replace replaces it with the new data and projects according to from the backup file.
  • Make sure to take a backup of both source and target instances for to be able to perform any rollback changes.