# Migrating from SAS3

The **Migration Wizard** moves data from a SAS3 server to SAS Radius 4: NAS, managers, profiles, prices, users, prepaid cards and card users. Open it from *Tools → Maintenance → Import SAS3 Database → Import*.

<p class="callout danger">The migration **erases the current SAS4 database** (users, managers, profiles, NAS, cards, journals, sessions). Use it on a new server, and download a backup first.</p>

## Steps

1. Take a backup on the SAS3 server and download the gzipped database file.
2. In the wizard, click **Upload** and choose the file.
3. Read the warning and click **Start**.
4. Follow the progress: Importing File, Verifying Database, Importing NAS(s), Managers, Profiles, Pricing List, Users (about 500 users per minute), Prepaid Cards, Card Users, **Migration Completed**.

## Check after migration

- **NAS**: the CoA port is set to 1700. Check it matches your routers.
- **Managers** get the permission group whose name contains "normal". Set the right group for each manager.
- **Profiles** are imported as normal profiles. Set again the *Expired / Quota / Daily Limit Next Profile* links and the Monthly Billing Start Day.
- **Users** keep their passwords. Users with traffic-limited profiles get a fresh quota.
- Only **unused** prepaid cards are imported.
- Settings, permission groups and sites are not imported; set them up in SAS4.

If a step fails, the wizard stops with a red mark. Contact Snono support before trying again; the database may already be partly erased.

*Required permission: Managers - System Administrator*