# Installing the Discovery Framework 1.5 and restoring backups

To install the Discovery Framework 1.5 and restore files backed up from version 1.1, 1.2, 1.3, or 1.4:

1. Install Discovery Framework 1.5, following the steps in the Discovery Framework Installation Guide. Do not start the server.
2. Restore the entire endeca-portal/data directory from your safe backup location. Overwrite the endeca-portal/data files that were installed with the Discovery Framework 1.5. If you have changed the location of anything normally kept in endeca-portal/data, such as your Endeca data source definitions, JCR repository, or Lucene search indexes, restore and re-verify your custom locations as well.
3. Restore your database, as follows:
   - If you are using HSQL, skip this step, since your database was restored as part of step 2.
   - If you are using MYSQL, DB2, or some other RDBMS, your database should still be intact. If it is not, follow the restore procedures from your vendor.
4. Configure the Discovery Framework to connect to your database. If you are not using HSQL, you should have created a backup of your database connection strings in the previous procedure.
5. Restore any Discovery Framework 1.1, 1.2, 1.3, or 1.4 customizations you have made.
   Note: These customizations may not be supported in Discovery Framework 1.5.
6. Restore your license at endeca-portal/ee/license.
7. Start the Discovery Framework.