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 back up 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

In the new server, perform the following steps:

1. Start the installer of Gpsgate (make sure you install the latest version from this URL).

2. When you reach this step in the installation, CANCEL it by clicking on Cancel.

mceclip0.png

3. Restore the database as described in this guide.

4. Delete the following folders that have been generated by the installer:

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

Obs.: Note that the folder is GpsGateInstall

mceclip1.png

5. Replace the deleted files with the copy your backup files (step 2 in Backup section) and copy these files in C:\GpsGateInstall\GpsGateServer.

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

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

7. During install select the restored database.

8. Continue with the rest of the installation steps.

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/

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.