adj import run
Start an import (reserves the next golden version)
Start a source→golden import.
Returns immediately with the job id and the reserved version (the import runs asynchronously in the data plane; developers keep cloning older versions while it builds). With --wait, polls until the import reaches Succeeded or Failed, printing phase transitions.
Usage
adj import run --source <id> --golden <name> --pg-major <N> [flags]
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--golden |
— |
golden lineage name to build the next version of (required) | |
--pg-major |
16 |
PostgreSQL major version of the source | |
--source |
— |
source connection id (required; see 'adj source ls') | |
--timeout |
24h0m0s |
give up waiting after this long (with --wait) | |
--wait |
false |
poll until the import reaches Succeeded/Failed |
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |