Skip to main content

8. Migrating from previous versions

There are two utilities for migrating from previous versions:

isp-go-dumpdb

isp-go-loaddb

The first one creates a dump of the user base through the API, and the second one downloads this dump.

Example:

isp-go-dumpdb -file=./dump.json -server=oldapi.myserver.com 
isp-go-loaddb -file=./dump.json -server=newapi.myserver.com

Where file is the path to the file where the database dump will be written, and server is the name of the host where the API is located.
API availability can be checked by command:

curl -v http://api.myserver.com/active_users/

If the error E403 Forbidden occurs, open access in following the configuration files:

/etc/nginx/sites-available/isp-go-api for ISP-Go

/etc/apache2/sites-available/isp.comf for ISP-Kit

Don't forget to restart services after any chages made in configuration files.