Backup and restore GpsGate Server

Prerequisites

If you have had GpsGate installed on the destination server before, you first need to do a complete uninstall. Follow step 1 to 4 in this guide to uninstall.

Database

First backup and restore the MySQL database. More info.


Backup GpsGate Server files

GpsGate Server is typically installed under C:\GpsGateServer or under C:\Inetpub\wwwroot\GpsGateServer

Backup the following folders to an off site location

"Deploy"
"Franson NMEA Service"
"IIS"
"opt" (except the content of the "opt\gpsgate\messagebus" subfolder)


Note that you should backup the files to some remote place.

Every time you install or update a plugin the GpsGate Server files needs to be backed up.


Restore GpsGate Server files

If you want to restore a backup on a new server. For example if you want to move to a larger server, or if your old server hard disk has crashed.

First of all restore the database as described in the link above.

Secondly restore the GpsGate Server files using the following steps:

1. Install Java JRE:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

2. Download GpsGate Server here:
http://gpsgate.com/download

3. Run GpsGateServer.exe on NEW server.

NOTE!! Cancel the Wizard when it starts!

4. Delete the following folders

C:\GpsGateInstall\GpsGateServer\Deploy
C:\GpsGateInstall\GpsGateServer\Franson NMEA Service
C:\GpsGateInstall\GpsGateServer\IIS
C:\GpsGateInstall\GpsGateServer\opt

NOTE!! The folder is GpsGateInstall!

5. Copy your backup GpsGate Server files to C:\GpsGateInstall\GpsGateServer replacing the folders you deleted in the step above.

Now you have a new installer with the correct files!!

6. Run C:\GpsGateInstall\Install.exe on your new server.

During install selected the restored database.


LARGER INSTALLATIONS > 5000 units

For larger installations we recommend to use AWS.

Use AWS Aurora as database. It has a lot of very nice features. Real time backup. Easy to scale up.
https://aws.amazon.com/rds/aurora/details/mysql-details/

The Windows instances AWS offers are easy to scale up as your installations grows.

GpsGate 5 can also run parts of the functionality in a cluster. We do not have any public guides (yet) on how to setup and manage a GpsGate cluster. Setup can currently only be done by GpsGate Support.