Production operations in nSelf are handled through real CLI commands: security hardening via nself security, SSL management via nself ssl, diagnostics via nself doctor --deep, backup via nself backup, and WAF via nself waf.
Source of truth: SPORT F02-COMMAND-INVENTORY.md.
nself deploy prod · security encrypt · nself cleanup · nself network · nself scale · nself metricsThese do not exist. Use nself security, nself ssl, nself backup, and nself waf for production hardening.
All security is free (Security-Always-Free doctrine). The full hardening suite runs automatically on nself install, update, and daily cron.
nself security setup # Apply baseline hardening
nself security audit # Full security audit report
nself security scan # Baseline hardening scan (free, no license)
nself security status # Current security posture
nself doctor --deep # Full diagnostics + hardening (free, no license)nself ssl setup # Initial Let's Encrypt setup
nself ssl status # Certificate status and expiry
nself ssl renew # Renew all certificates
nself ssl renew example.com # Renew a specific domain
nself ssl add example.com # Add a custom domain certificatenself waf enable # Enable Coraza + OWASP CRS
nself waf mode detection # Detection mode (logs, does not block)
nself waf mode blocking # Blocking mode
nself waf report # WAF event reportnself backup create # Create a backup
nself backup list # List available backups
nself backup restore latest # Restore most recent backup
nself backup restore <id> # Restore specific backup
nself backup verify latest # Verify backup integrity
nself backup schedule # Configure automatic backup schedule
nself backup status # Backup system statusnself status --deep # Full service status + plugin reachability
nself health check # Health check all services
nself health watch # Continuous health monitoring
nself alerts list # List Prometheus alert rules
nself alerts test <alert-name> # Test an alert
nself watchdog status # Self-healing watchdog status
nself monitor upgrade-dashboards # Upgrade Grafana dashboardsnself dr drill # Practice a disaster recovery drill
nself dr promote-standby # Promote standby to primary
nself dr reconfigure-dns # Update DNS after failover
nself dr rollback # Roll back a DR operation
# PITR (Point-in-Time Recovery)
nself db pitr status
nself db pitr restore # Restore to a point in time
nself db pitr restore-drill # Practice PITR restorenself security setup and resolve all findingsnself ssl setup for your domainnself waf enablenself doctor --deep reports no CRITICAL findingsnself backup schedulenself db pitr enablenself alerts listnself db rls audit and apply any gapsnself db fk-index audit and apply missing indexes