Backup And Disaster Recovery
Protect the controller, database, certificate artifacts and secrets as one recoverable installation.
Backup And Restore Commands
sudo ssl-nexus-admin backup --output /var/backups/ssl-nexus/pre-change.tar.gz
# Restore during a planned recovery window:
sudo ssl-nexus-admin restore /secure/ssl-nexus-backup.tar.gz
# For an age-encrypted archive:
sudo ssl-nexus-admin restore --identity /secure/recovery-key.txt /secure/ssl-nexus-backup.tar.gz.ageBackup briefly stops the service for a consistent capture, then restarts services that were active. When backup encryption is enabled, the output filename receives an .age suffix. Restore replaces persistent state: use the actual archive filename and keep the recovery key outside SSLNexus state directories. See Recovery to a new host for the replacement-host procedure.
Recovery To A Replacement Host
- Keep an off-host backup of the application state and PostgreSQL dump, plus the separately held age recovery identity if encryption is enabled. Backups include licence identity, target key mappings and local encryption material; a copy with its unlock material may expose secrets.
- Install a verified package of the same application version on a supported replacement host. Prepare PostgreSQL and its client utilities. Ensure dump/restore compatibility before changing PostgreSQL major versions.
- Fence the old controller: stop its service and prevent it reaching managed targets. Do not run two copies with the same restored identity or concurrent renewal jobs.
- Transfer the archive through an authenticated channel and run the restore command above. Keep recovery material root-readable only. The supported backup includes a logical database dump when PostgreSQL is configured; a raw filesystem copy is not a substitute.
- Review the restored hostname, DNS, database connection, certificates, trust stores, secret permissions and target key mappings. Restore the matching state and secrets together.
- Run
sudo ssl-nexus-admin preflight --json. Verify administrator HTTPS and licence status. The installation identity is restored, but the new host’s device fingerprint can differ; reconnect to the Authority and resolve any activation or identity rejection before relying on automation. - Check target connections and one controlled deployment, then resume schedules and move administrator DNS if needed. Retain the old host fenced until recovery is accepted.
A restored identity is continuity for one recovered installation, not permission to clone an active licence. There is no built-in active-active controller failover or automatic device re-binding promised by this procedure. Recovery time depends on archive size, database restore and connectivity. Establish your own recovery-point and recovery-time objectives through a timed isolated restore exercise.
Prepare A High-Availability Standby
One Installation, One Active Controller
Open Settings → Licensing & maintenance → High availability. A standby continues the same installation after cutover. It shares that installation’s certificate allowance and packs. It must not run independent certificate automation alongside the active controller.
The page shows the installation identifier, this device identifier, licensing mode and offline promotion override. These are licensing controls and recovery guidance. SSLNexus does not automatically replicate the database, fence hosts or switch network traffic from this page.
Prepare The Standby
- Select Configure backup and restore. Create a full backup and send it to protected recovery storage. Keep any backup decryption key separately.
- Install the same SSLNexus version on the standby. Keep it isolated from managed targets while restoring and checking the installation.
- Restore the matching configuration, database, certificate artifacts, secrets and licence state together through Backup & restore. For an encrypted archive, follow the recovery instructions displayed there.
- Confirm that the restored installation identifier matches. The standby has its own device fingerprint. If the installation uses offline licensing, obtain a signed licence that explicitly authorises the standby device.
- Test recovery in isolation and measure how much work could be lost between backups. A backup-based standby is not continuous replication.
Use Review product licence to check or import the appropriate licence. Do not copy only the licence file and assume the database and keys are replicated.
Perform A Controlled Cutover
- Stop the previous controller and prevent it reaching managed targets. Confirm this outside SSLNexus before proceeding; a checkbox does not stop a host.
- Restore the latest consistent backup if required and verify the replacement’s hostname, database, secrets and target configuration.
- For online licensing, validate the licence and secure Authority connection on the replacement. Resolve any device or identity rejection before allowing automation.
- On an authorised offline standby, confirm I have stopped and isolated the previous active controller, then select Promote this replica and confirm the dialog. The signed licence must permit this device.
- Check target connections and one controlled certificate operation, then resume normal schedules and switch administrator access as appropriate.
Keep the previous controller isolated after cutover. Promotion does not add capacity, copy state or stop another server.
Return Or Clear A Promotion
Clear promotion override removes the local offline override and returns role selection to the signed licence. It does not stop the service, fence this host or guarantee that this device becomes standby: the licence may identify it as the primary device.
For a return to the previous host, stop and isolate the current controller first, preserve the latest state, then validate the intended replacement. Never restore an old snapshot over a running active installation as a shortcut.