Now, you have learned how to generate the backup manually using JIRA's Backup System tool and by relying on JIRA Service. There are two scenarios when these backup files are useful to you:
JIRA comes with the utility to Restore System; it basically wipes out the existing data/configuration and replaces it with one on the backup files; hence, you have to be very careful when using the Restore System utility. As a thumb rule, always perform the restore process on a test environment; this will also give you a chance to learn and fix any errors that you may encounter.
In this example, we will restore the 2014-12-09-backup.zip
backup file, which we generated in the earlier section.
For this exercise, you should have a blank JIRA installation on a different machine with the same version as the one used to generate the backup. Perform the following steps:
JIRA HOME
directory under the import
folder.2014-12-09-backup.zip
, which is the backup file we generated previously.After the restore process is completed, you can log in to the JIRA instance using the login and password credentials of the instance from which the backup was generated. Your login of the current JIRA instance will not work because the whole data is wiped out and replaced by the backup file.
You can verify the following things after the restoration:
If these things match with your old instance and the restored instance, then the restore process was successful.