Databases

db provision Requires confirmation

Usage

uqbitz db provision

Provision a managed database: quote first, provision only after explicit confirmation

Options

NameDescriptionDefault
--project <id|slug>Project id or slug (defaults to this repository's project, then the linked one)
--tier <tier>Database tier, e.g. mini (omit to list tiers)
--engine <engine>Engine: postgres, mariadb, mongodb, clickhouse (default: postgres)
--engine-version <version>Engine version (default: platform LTS)
--db-name <name>Database name
--db-user <user>Database user
--quote-id <quoteId>quoteId of the quote the person reviewed
--confirm <idempotencyKey>Explicit confirmation: idempotencyKey of the reviewed quote
--accept-terms <documentVersion>Legal package version the PERSON accepted (never the assistant)
--jsonOutput structured JSON

db attach

Usage

uqbitz db attach

Connect the app to its managed database: writes DATABASE_URL + DB_* into the project env (the password never passes through the CLI)

Options

NameDescriptionDefault
--project <id|slug>Project id or slug (defaults to this repository's project, then the linked one)
--overwriteReplace keys that already exist (without this they are preserved)
--jsonOutput structured JSON

db status

Usage

uqbitz db status

Show the managed database of the project (never shows credentials — reveal them in the dashboard and set them with uqbitz env set)

Options

NameDescriptionDefault
--project <id|slug>Project id or slug (defaults to this repository's project, then the linked one)
--jsonOutput structured JSON

db backups list

Usage

uqbitz db backups list

List the backups of the managed database

Options

NameDescriptionDefault
--project <id|slug>Project id or slug (defaults to this repository's project, then the linked one)
--jsonOutput structured JSON

Global options

NameDescriptionDefault
-V, --versionoutput the version number
--api-url <url>Override API base URL for this command
--profile <name>Use an isolated profile (~/.config/uqbitz/profiles/<name>) instead of the shared one