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 use the restoreExport CLI actionachieve this use case.

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

    :

    Code Block
    themeMidnight
    --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.
  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 site 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

...

  • actions erases the entire data and projects in the target instance and

...

  • replaces it with the new data and projects

...

  • from the backup file.
Info
  • Make sure to take a backup of both source and target instances
for any roll back
  • to be able to perform any rollback changes.