Docs / Backup & Restore

Backup & Restore

SuperSQE ships backup scripts that dump the bundled PostgreSQL database and copy uploads plus your license file and machine bindings. Everything needed to restore a server lives in the data directory:database dump + uploads + license.lic.

Windows

powershell -ExecutionPolicy Bypass -File backup.ps1   -InstallDir C:\Program Files\SuperSQE -OutDir D:\ackups

Linux / macOS

sudo -u supersqe /opt/supersqe/service/backup.sh   /var/lib/supersqe /var/backups/supersqe

Restore

  1. Restore the database dump with pg_restore
  2. Copy uploads back into the data directory
  3. Copy license.lic back so the restored server validates immediately

Schedule daily backups and test a restore quarterly — a backup you have never restored is a backup you do not have.

Moving to a new server

Restore the backup on the new machine, then request a license reissue from the client portal so the license file is re-signed for the new machine ID. See Licensing.