How to upgrade the SecurityGateway Firebird database to version 3
SecurityGateway version 7.0 through version 10.5.3 support Firebird version 3. New installations of these versions will automatically build a version 3 database, while upgrades from versions prior to SecurityGateway 7.0 will not be upgraded.
Follow the steps below to covert the Firebird database to version 3.
- Stop the SecurityGateway service.
- Open a command prompt as administrator.
- Use the change directory command to point to the \SecurityGateway\App folder.
cd <drive_letter>:\<directory_path>\SecurityGateway\App\ - Enter the following command; sgdbtool convertfb3
- Restart SecurityGateway when the command is finished.
- Database file [<drive_letter>:\<directory_path>\SecurityGateway\App\SecurityGateway.fbd] is already in Firebird 3.x format
This process will save a backup copy of your Firebird 2 database file as "SecurityGateway.fb2". Then it will restore your database using the Firebird 3 runtime and save it as "SECURITYGATEWAY.FBD".
If you are using Archiving then this will also upgrade any archiving database files.