System Manager
Control the Nimbus agent lifecycle and manage installed versions.
nimbus system <command>
| Command | Description |
|---|---|
status | Show agent status (default command) |
log | Show system log |
loglevel | Change minimal log level (debug, info, warning, error) |
upgrade | Start an Agent upgrade |
upgrade-status [--operation-id <id>] [--watch] | Show or watch Agent upgrade progress |
stop-upgrade | Request safe cancellation during download or extraction |
link | Show installation command and API key |
login <api-key> | Set API key |
start / stop / reload | Manage service process |
factory-reset | Reset agent to default settings and reload |
db-backups | List restorable local database backups created by factory reset or restore |
db-restore <id> [--no-restart] | Schedule restore of a listed local database backup by id; restarts the service by default |
service-status | Show nimbusd service status |
log-service | Show service logs |
uninstall | Remove Nimbus agent |
prune | Clean temp files and unused layers |
agent-version | Show current version |
agent-list | List available backups |
agent-backup <name> | Create version backup |
agent-revert <name> | Revert to a backup version |
agent-clean-backup | Remove all local backups |
storage | Show storage info |
Agent upgrade progress
nimbus system upgrade
nimbus system upgrade-status --watch
nimbus system upgrade-status --operation-id <operation-id>
Progress includes the download percentage, transferred bytes, total size and speed when known, plus the current installation stage and the time progress last advanced. The percentage describes the package download. Extraction, installation, Agent startup and verification appear as stages. Unavailable measurements remain unknown rather than appearing as zero.
The watcher follows one operation through temporary Agent or Sidecar restarts and exits when that
operation finishes. Ctrl+C stops watching and leaves the upgrade running. On supported local
installations, status remains available through Sidecar while Agent is stopped. Agent-owned
systemd upgrades also retain status in an independent local supervisor. Use
sudo nimbus system upgrade-status --watch when Agent is offline and no Sidecar can serve that
status, because the supervisor files require root access. Remote status requires a reachable Agent.
nimbus system stop-upgrade requests cancellation during download or extraction when the verified
upgrade owner and running installer support it. This applies to both Agent-owned and Sidecar-owned
upgrades. If the local Agent is offline, the CLI asks for root authorization and checks the owner
again before submitting the request. A queued request is not yet a cancelled upgrade: extraction may
finish before cancellation is acknowledged. Follow the result with upgrade-status --watch.
The installer refuses requests after its safe boundary, before service changes, Agent shutdown or
file replacement. A request racing that boundary may be too late, and the upgrade then continues.
For a normal service run, confirmed cancellation before shutdown leaves the current Agent running. A manually launched Agent may already have exited for upgrade handoff; confirmed cancellation starts and verifies the unchanged installed service. Service restoration failure is reported in upgrade status instead of claiming cancellation completed successfully.
Pending Sidecar requests can also be cancelled before updater handoff. Older installers and unverified owners refuse cancellation. Sidecar stays running when its executable and service configuration are unchanged; an update to Sidecar itself requires restart.
Example
nimbus system agent-backup yakir
→ Creates backup folder /etc/nimbus/yakir/
nimbus system db-backups
nimbus system db-restore agent-db-factory-reset-20260705T100000Z-...
→ db-backups shows only restorable operator backups such as agent-db-factory-reset-* and
agent-db-pre-restore-*. Internal migration snapshots are hidden. db-restore rejects ids that are
not listed and writes a pending-restore marker. The restore is applied at the next Nimbus process
start before runtime storage opens SQLite; by default the command requests that restart immediately.