Operations

CLI Reference

Supported installer commands

CLI Reference

Invocation: run soviez.sh from any directory after installation (typically /usr/local/bin/soviez.sh).

Not supported: legacy single-flag migration shortcuts (never implemented).

Global options

FlagPurpose
-h, --helpUsage summary
--confirm / --yes / -yConfirm destructive or non-interactive steps
--dry-runPreview changes without applying (where supported)
--output PATHExport path for bundles and reports

Host setup and health

CommandPurposeNetwork
--initPrepare host: Docker, Nginx, firewall, security baselineLocal
--doctorConsolidated health checkOffline
--versionPlatform version and channelOffline
--helpFull usageOffline
--platform-installInstall or refresh platform payloadLocal

Environments

CommandPurposeNetwork
--listAll Production and Stage environmentsOffline
--newCreate a new Production ERP environmentConnected
--reattach <operation-id>Resume an in-progress --new operationVaries
sudo soviez.sh --new [--domain erp.example.com] [--activation automatic|manual]

Resource tuning

CommandPurpose
--tune --dry-runPreview sizing changes
--tune --explainShow calculation details
--tuneApply safe Odoo/PostgreSQL/Docker sizing

Updates

CommandPurpose
--update <production-id> --release <release-id>Apply an approved ERP release
--update-status|reattach|cancel|retry|recover|rollback|cleanupUpdate operation control
--update-image-status|cleanupImage retention on disk
--releasesList available releases (where entitled)
--release-status <environment-id>Current release on an environment

Updates require an exact --release ID. There is no Production-safe “latest” pull.

Stage

CommandPurpose
--stage --production-tenant <id> --stage-domain <fqdn>Create Stage from Production
--stage-list|status|start|stop|backup|dropStage lifecycle
--stage-retention-status|extend|run|retry|reattachRetention management

Default Stage retention: 14 days. Maximum: 60 days from creation.

Backup and restore

CommandPurpose
--backup <production-id> [--type full|database-only] [--destination PROFILE]Create backup
--backup-list|show|verify|pin|unpin|delete|export|importBackup management
--backup-destination-list|show|testOff-host destination profiles
--backup-schedule-add|listScheduled backups
--restore <production-id> --backup <backup-id> [--confirm]Restore Production
--restore-test <backup-id>Validate backup without switching Production
--restore-as-stage <backup-id> --stage-domain <fqdn>Restore into isolated Stage
--restore-status|cancel|retry|recover|rollback|cleanupRestore operation control

Security

CommandPurpose
--security-status|scan|scan-db|check|harden|reportSecurity posture and scans
--security-update-check|backup-checkPost-update and backup gates
--security-quarantine-status|scan|promote|rejectQuarantine workflow

SSL / TLS

CommandPurpose
--ssl-status|renew|repair|policy|try-again|abort|reattachCertificate lifecycle

Operations registry

CommandPurpose
--operations [--active|--failed]List long-running operations
--operation-status|reattach|cancel|retry|recover|logs|reconcileUnified operation control

Migration (Soviez → Soviez)

Migration uses the --migration-* family only. There is no single-flag migrate-in command.

Common entry points:

soviez.sh --migration-discover <production-id>
soviez.sh --migration-bootstrap-destination [--confirm]
soviez.sh --migration-pair <production-id> --destination-code CODE [--confirm]
soviez.sh --migration-readiness <pair-id>
soviez.sh --migration-transfer-start <pair-id> [--confirm]
soviez.sh --migration-activate-destination <pair-id> [--confirm]
soviez.sh --migration-cutover-start <pair-id> [--confirm]
soviez.sh --migration-status <operation-id>

See MIGRATION.md for the full workflow and additional flags.

Offline

CommandPurpose
--offline-request / --offline-import PATHStage offline authorization
--update <id> --offline-package PATHOffline ERP update

See OFFLINE_UPDATES.md and OFFLINE_MODE.md.

Connectivity notes

  • Read-only and local commands (--list, --doctor, --version, diagnostics, recovery) work offline or during service outages.
  • Connected mutating commands (install, update, new Stage) require outbound HTTPS and valid entitlement.
  • Platform and security self-updates for Soviez.sh are not blocked by Technical Support expiry; ERP product updates are entitlement-gated.

Related docs

TopicDocument
New ProductionNEW_PRODUCTION.md
Backup / restoreBACKUP.md, RESTORE.md
UpdatesUPDATES.md
MigrationMIGRATION.md
SecuritySECURITY.md
TuningTUNING.md

Source: canonical operator documentation · Permalink