ti db create-db-cluster-branch
Creates a branch for one Starter cluster. --wait waits for the branch to become ACTIVE. The command verifies that the parent cluster is Starter before creating the branch.
Syntax
ti db create-db-cluster-branch
--db-cluster-branch-name <string>
--db-cluster-id <string>
[--dry-run]
[--help]
[--version]
[--wait]
Options
--db-cluster-branch-name <string>: Starter DB cluster branch display name. [required]--db-cluster-id <string>: Starter DB cluster ID. [required]--dry-run: Validate the request without applying changes.--help: Display help information.--version: Display version information.--wait: Wait until the created branch becomesACTIVEbefore returning.
For options shared by all commands, see Global options.
Examples
Create a branch and wait until it is active:
# Wait until the new database branch can accept connections. ti db create-db-cluster-branch --db-cluster-id "<cluster-id>" --db-cluster-branch-name dev --waitPreview branch creation:
# Validate the parent cluster and branch request without creating it. ti db create-db-cluster-branch --db-cluster-id "<cluster-id>" --db-cluster-branch-name preview --dry-run