stado database push
Invocation
stado database push [OPTIONS] --service <SERVICE> <HOST>Purpose
Make a host's database declarations equal to this machine's. Reads HOST's config file whole (its `config show` omits the block), writes this machine's `database_api` there through `host config set` when the two differ, and reconciles --service so the running process reads it. --check writes nothing and exits non-zero on a difference.
Required inputs and options
| Input or option | Contract |
|---|---|
<HOST> | Positional input; required or optional as shown in the invocation. |
--service <SERVICE> | The registry-managed unit on HOST that serves the database plane |
--check | Report the difference and write nothing; exit non-zero on it |
--json | Emit machine-readable output |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Report the difference and write nothing; exit non-zero on it
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.