QAD 2017 Enterprise Edition > Installation-Conversion > Conversion Guide > Upgrading QAD Enterprise Edition into a New Environment > Upgrading Enterprise Edition into a New Environment > Restore the Source EE Databases
  
Restore the Source EE Databases
Once the 2017EE installation has completed successfully, remove the newly installed databases and replace them with the databases from the source environment.
1 Stop the 2017EE environment with the following command:
> yab stop
2 Remove the newly installed 2017EE databases and their structure files:
a Change to the databases directory.
> cd /<application-directory>/databases
b Remove the mfgdb database.
> prodel mfgdb
c Remove the associated structure files
> rm mfgdb.st
d Repeat steps b and c and remove the admin (admdb) and help (hlpdb) databases.
3 Restore the source EE databases from the source environment:
> prorest mfgdb /<back-up-dir>/<mfgdb-back-up-name>.bkup
Repeat this step for the admin (admdb) and help (hlpdb) databases.
Once the databases have been restored, ensure that the file system permissions are consistent with the original database files, including any fixed-extents-related files. After restoring, the database files must have the same user and group permissions as the original files.
Note: The codepage of the source databases must match that of the 2017EE environment. The default for 2017EE is UTF-8.
Note: An additional Progress database conversion may be required if the source and target environments do not have the same Progress version. This is typically required only when there is a major version change, such as from OE 10.x to OE 11.x.