Skip to main content
Skip to main content

Backup and Restore

Protecting your IronWiFi configuration ensures you can recover quickly from accidental changes, account issues, or compliance requirements. This guide covers what to back up, how to automate exports, restore procedures, and rollback strategies.

What to Back Up

IronWiFi is a cloud service -- your user data and configuration are stored on IronWiFi's infrastructure. However, maintaining your own backups provides:

  • Protection against accidental deletions -- Recover users or groups deleted by mistake
  • Configuration rollback -- Revert policy changes that cause problems
  • Compliance documentation -- Maintain historical records of your RADIUS configuration
  • Disaster recovery -- Recreate your setup if needed

Backup inventory

DataBackup MethodPriority
Users (accounts, attributes)API exportHigh
Groups (policies, attributes)API exportHigh
Network settings (IPs, ports, secrets)Manual documentationHigh
Captive portal configurationManual documentation + APIMedium
Voucher batchesAPI exportMedium
Access point RADIUS settingsNetwork management toolHigh
Identity provider integration settingsManual documentationMedium

Manual Backup via Console

For quick, one-time backups of smaller deployments:

Documenting Network settings

  1. Navigate to Networks in the IronWiFi Console
  2. For each Network, record:
    • Network name and region
    • Primary and backup RADIUS server IPs
    • Authentication and accounting ports
    • Shared secret

Store these details in a secure location (password manager or encrypted document).

Exporting user data

  1. Navigate to Users
  2. Use the export function to download user data
  3. Save the exported file with a date-stamped filename

Documenting Group policies

  1. Navigate to Users > Groups
  2. For each Group, record:
    • Group name and description
    • Check attributes and their values
    • Reply attributes and their values

Automated Backup via API

For production deployments, automate backups using the REST API.

Backup script

Scheduling backups

Add the script to your cron schedule:

tip

Run backups from a server with reliable network access to IronWiFi's API. If the API call fails, the backup file will be empty -- the script above checks for this.

Python backup script

For more control over the backup process:

warning

Store your API key as an environment variable or in a secrets manager. Never hard-code API keys in backup scripts that are committed to version control.

Restore Procedures

Restoring users from backup

Use the API to recreate users from a backup file:

Python restore script:

note

Restored users will need new passwords set unless you also backed up and restore their password attributes. If users authenticate via an identity provider (AD, Okta, Google), their credentials are managed externally and do not need to be restored.

Restoring Group policies

  1. Open your Groups backup file
  2. For each Group, navigate to Users > Groups in the IronWiFi Console
  3. Create the Group with the saved name and description
  4. Add check and reply attributes matching the backup

Or automate via the API:

Restoring access point configuration

Access point RADIUS settings are configured on your network equipment, not in IronWiFi. Restore these from your network management tool's backup:

  • Meraki: Configurations are cloud-managed and backed up automatically
  • UniFi: Restore from UniFi Controller backup
  • Aruba Central: Restore from Aruba Central configuration backup
  • MikroTik: Restore from RouterOS backup file

Rollback Strategies

Rolling back a policy change

If a Group attribute change causes authentication problems:

  1. Identify the problematic change in the IronWiFi Console
  2. Navigate to Users > Groups > select the affected Group
  3. Modify the attribute back to the previous value (from your backup documentation)
  4. Test authentication with a test user to verify the fix

Rolling back a user bulk operation

If a bulk user import or modification goes wrong:

  1. Stop the operation immediately if it is still running
  2. Assess the damage -- Check which users were affected
  3. Restore from backup -- Use the most recent backup to restore affected users via the API
  4. Verify -- Test authentication for restored users

Rolling back a Network change

Network settings (RADIUS IPs, ports, secrets) are assigned by IronWiFi and generally do not change. If you accidentally delete a Network:

  1. Create a new Network in the same region
  2. Note the new RADIUS server details
  3. Update all access points with the new RADIUS configuration
  4. Reassign captive portals to the new Network
warning

Deleting a Network requires updating all access points that reference it. This is disruptive, so be cautious when deleting Networks. IronWiFi may prompt for confirmation before deletion.

Backup Best Practices

  1. Automate backups -- Manual backups are unreliable. Use scheduled scripts.
  2. Test restores regularly -- A backup is worthless if you cannot restore from it. Test quarterly.
  3. Store backups securely -- Backup files contain usernames and configuration details. Encrypt at rest.
  4. Use versioned storage -- Keep multiple backup versions so you can restore from any point in time.
  5. Back up before changes -- Run an on-demand backup before making bulk modifications.
  6. Monitor backup success -- Alert if a scheduled backup fails or produces empty files.
  7. Document the restore process -- Your team should know how to restore without guessing.
  8. Include AP configuration -- Back up your network equipment configuration alongside IronWiFi data.

Backup Retention Schedule

Backup TypeFrequencyRetention
Full export (users, groups, attributes)Weekly12 weeks (rolling)
Pre-change snapshotBefore bulk operations30 days
Configuration documentationAfter changesIndefinite (versioned)

Was this page helpful?