User Tools

Site Tools

Data Folder Migration

Post-installation an EASA system resides in two folders:

  • <EASAROOT> or the 'installation folder' – EASA’s core system files
  • <SERVERDATA> or the 'data folder' – developed or published EASAP's, results data, and, by default, the EASA database

To change a prior installed name and location of the 'data folder' without uninstalling/reinstalling the server follow the steps below:

  1. Locate <SERVERDATA>
    • C:\Users\<USER>\EasaServerData (Windows 7 or Windows Server 2008)
    • C:\Documents and Settings\<USER>\EasaServerData ( Windows XP or Windows Server 2003)
  2. Move the folder to a new destination
  3. Rename, if necessary.
  4. Modify two files below using a text editor,
    • In ' <EASAROOT>\tomcat\conf\Catalina\Localhost\data.xml ' edit the following parameter in the <Context /> tag:
      Update the value for 'docBase' as appropriate: docBase=''D:\EASA\MyNewEasaServerData'' path=''\data''
      Save and close
    • In ' <EASAROOT>\db\mysql-5.7.17-win32\my.ini ' update the following line with the new path
      datadir = C:/Users/<USER>/EasaServerDataEval/easa/db/0/mydata/
      Save and close.
  5. Start the EASA Server

After a successful configuration change the EASA Server should start, all user data including EASAP's and results will remain intact in the <SERVERDATA> folder.