Skip to content

Command-line reference ​

Run boomerangz COMMAND --help for the authoritative help installed with your version. Commands return exit status zero on success and one on failure; errors are written to standard error.

Commands that read configuration accept:

OptionDefault
--config/etc/boomerangz/config.toml
--config-dir/etc/boomerangz/config.d

Configuration and version ​

CommandPurpose
boomerangz config checkValidate the primary file, drop-ins, and merged configuration.
boomerangz config showPrint merged TOML with private-key fields redacted.
boomerangz config reloadValidate and atomically apply the running daemon configuration. Use --socket PATH to select a non-default current control socket. The JSON result lists the configuration generation, fields applied live, and fields requiring restart.
boomerangz versionShow build version, commit, and date.
boomerangz version --jsonEmit version information as JSON.

Daemon and operation ​

CommandOptions and arguments
boomerangz daemonRun management in the foreground.
boomerangz status--credential NAME_OR_PATH, --watch/-w, and --json.
boomerangz trigger [DATASET...]Empty selects every active root; --credential NAME_OR_PATH addresses a paired listener.

Interactive status uses a readable terminal view; an interactive watch adds the most recent job state changes beneath it. Redirected one-shot output is one JSON object; redirected watch output is newline-delimited JSON. Add --json to emit that structured output even when standard output is a terminal. A watch sends an update whenever the daemon's status changes, and only then. Each watch object also carries transitions, every job state change since the previous object in the order the daemon recorded it. Each job entry names its run and what that run acted on, such as the snapshot a transfer sent, in the job identity fields. A watch that falls too far behind the daemon ends with an Aborted error and exits with status one rather than continuing with changes missing. See View status for the fields and the job states, and Job identity for the identity fields.

Dataset lifecycle ​

CommandOptions and arguments
boomerangz dataset listPrint a readable inventory with each dataset's management status. Add --json for structured output.
boomerangz dataset inspect DATASETPrint readable effective policy, provenance, activation, coverage, warnings, and errors for one exact dataset. Add --json for structured output.
boomerangz dataset adopt DATASETPreview adoption; --apply performs the revalidated plan.
boomerangz dataset reseed DATASET TARGETPreview destruction and fresh seeding of one configured local destination root or named remote; --apply performs the revalidated plan.
boomerangz dataset clean [DATASET...]Preview decommissioning. Use --recursive, --all, --destroy-owned-snapshots, and --apply as needed.
boomerangz identity recoverPreview recovery. --owner UUID resolves multiple candidates; --apply performs the revalidated plan.

dataset clean --all cannot be combined with dataset arguments. Named datasets are exact unless --recursive is supplied. Snapshot destruction is never implied by selecting a scope.

Pairing ​

CommandOptions and arguments
boomerangz pairing create--listener NAME, repeatable --scope VALUE, --expires-in DURATION, and paired --client-cert PATH/--client-key PATH.
boomerangz pairing import NAME BUNDLEStore a received bundle under a local credential name.
boomerangz pairing listList credentials issued or imported by this installation.
boomerangz pairing revoke IDRevoke one issued pairing.

Allowed scope values are status, trigger, replicate, prune, and admin. The default is status. An expiry of 0s means no expiry. --client-cert and --client-key must be supplied together.

Restricted SSH command ​

text
boomerangz ssh-shell

This command serves a restricted receiving endpoint over standard input and output. The packaged /usr/lib/boomerangz/boomerangz-shell login shell invokes it and ignores SSH command arguments. Destination roots are supplied through the replication API and checked against ssh_shell.replication_roots; there is no root command-line option. Administrators do not normally invoke this hidden command directly.

Released under the MIT License.