Backup and restore GpsGate Server

Requirements

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

Backup

1. Database

First backup and restore the MySQL database. More info.

2. Backup GpsGate Server files

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

Backup the following folders to an offsite location

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

Notes

  • 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

Restore GpsGate on a new server

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.

1. Restore the database as described above.

2. Restore the GpsGate server files by doing:

a. Download GpsGate here: http://gpsgate.com/download

b. Run GpsGateServer.exe on the NEW server.

NOTE!! Cancel the Wizard when it starts!

c. 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

d. 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!!

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

f. During install select the restored database. Check the installation steps for more details.

Large installations

If you have more than 5000 units we recommend using AWS as database. It has a lot of more advanced features like real time backup and 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.

Cluster installations need to be performed on demand, please contact support if you need such an install.