# 8. Migrating from previous versions

There are two utilities for migrating from previous versions:

`<span style="color: #ba372a;">isp-go-dumpdb</span>`

`<span style="color: #ba372a;">isp-go-loaddb</span>`

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

Example:

```shell
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:

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

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

`<span style="color: #ba372a;">/etc/nginx/sites-available/isp-go-api</span>` for ISP-Go

`<span style="color: #ba372a;">/etc/apache2/sites-available/isp.comf</span>` for ISP-Kit

<p class="callout info">Don't forget to restart services after any chages made in configuration files.</p>