Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.
DBHost CLI is published as @dbhost-app/cli for Pro and Business accounts.
Install
Run the CLI directly with npx:
npx @dbhost-app/cli@latest --help
Or install it globally:
npm install -g @dbhost-app/clidbhost --help
DBHost CLI supports macOS and Linux with Node.js 18 or later.
Authenticate
Create an API key from Settings in the dashboard, then log in:
dbhost auth login --api-key dbh_your_api_key_here
The CLI stores the API key locally so you do not need to pass it on every command.Paid plans support two API key scopes:
Selected databases limits the key to only the databases you choose
Full account access can create and manage every database in your account
Selected databases is the recommended default. A Full account access key is required for database creation, database recovery, collaborator/member/invitation administration, and webhook administration.Selected-database keys only list the databases they can access. If you use a database-specific command against an out-of-scope database, the API responds as if the resource were missing.If you prefer environment variables:
Local tests and smoke runs for mutating commands must set DBHOST_API_URL to
an explicit local test server. They fail closed rather than using the
production default. This rule does not authorize a production CLI mutation.
Common commands
List databases:
dbhost databases list
Use the id column from the list output with dbhost databases get <id>.Create a database:
Use dbhost backups list <database-id> to discover the filename value before you download or delete a specific backup. Downloads save to ./<filename> by default; pass --output to write the file somewhere else.
JSON output
Add --json to any command for machine-readable output:
dbhost databases list --jsondbhost backups list <database-id> --json
Command reference
Run dbhost --version and dbhost <group> --help to see what your installed
version supports. Some commands below, including pgcrypto for extensions, the
databases migration* commands, databases events, databases access-audit
and the additional-role credential commands, require CLI 0.3.7 or newer.
databases create --environment development|other also needs --scheduled-backup none|daily; production always keeps daily backups.
databases migration-request defaults to --connections 1 --statement-seconds 600 --lock-seconds 5.
databases limits-set changes the server connection cap shared by all roles of one database, within the range databases limits reports as allowedServerConnectionCap. New databases start at their plan default: Free 2, Pro 3, Business 4, development 2.
--access-profile read_only|read_write|custom matches Read only, Read & write and Custom in the dashboard.
<connection-limit> is the role’s own PostgreSQL connection limit: 1-20 for legacy-create; custom-create accepts 1 or more and the API checks it against the database’s role budget. All roles still share the server connection cap set with databases limits-set.
Managed commands return once; reuse the same idempotency key to reconcile.
Exit codes:
0: Success
1: API, network or other runtime error
2: Usage or validation error; nothing was sent to the API
With --json, errors are written to stderr as {"error":{"code","message"}}.dbhost databases extensions <id> --json lists the supported extensions for
one database. On a database with managed SQL roles, install and upgrade
submit one asynchronous operation for citext, pg_trgm, or pgcrypto
(pgcrypto needs CLI 0.3.7 or newer); use status with the returned
operation ID. Keep the same idempotency key if the first response is
uncertain. See PostgreSQL extensions.dbhost databases create uses the single-login creation API. For a new
database with separate managed SQL roles, choose the checkbox in the
dashboard (all plans) or use the managed-create API with a full-account key on
Pro or Business. The dbhost managed custom-* commands manage additional
roles on a database with managed SQL roles; see
Database roles.The CLI has no restore or database deletion command. Use the dashboard or the
API; see Restore from a DBHost backup.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"DBHost","description":"Managed PostgreSQL hosting for developers: PgBouncer pooling, verify-full TLS, separate SQL roles, backups with 30-day retention, and API and CLI automation on paid plans.","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/stianlarsen-ef7289da/SvPvaAf6yywKnLbd/images/logo-light.svg?fit=max\u0026auto=format\u0026n=SvPvaAf6yywKnLbd\u0026q=85\u0026s=04b5e34c4fa58314f697056f22b10346","dark":"https://mintcdn.com/stianlarsen-ef7289da/SvPvaAf6yywKnLbd/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=SvPvaAf6yywKnLbd\u0026q=85\u0026s=05b305d5fbc0371088ab5477fc5bcc6e"},"favicon":"https://mintcdn.com/stianlarsen-ef7289da/SvPvaAf6yywKnLbd/images/favicon.svg?fit=max\u0026auto=format\u0026n=SvPvaAf6yywKnLbd\u0026q=85\u0026s=a3559c65dd709716d3a5acfaeffe09cc","appearance":{"default":"system"},"background":{"color":{"light":"#ffffff","dark":"#09090b"}},"seo":{"metatags":{"og:image":"https://dbhost.app/media/og/dbhost-managed-core-1200x630.png","og:image:width":"1200","og:image:height":"630","og:image:type":"image/png","og:image:alt":"DBHost — Postgres. Handled. Managed PostgreSQL hosting.","twitter:card":"summary_large_image","twitter:image":"https://dbhost.app/media/og/dbhost-managed-core-1200x630.png","twitter:image:width":"1200","twitter:image:height":"630","twitter:image:alt":"DBHost — Postgres. Handled. Managed PostgreSQL hosting."}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stianlarsen-ef7289da","hasAudioNarration":false,"actualSubdomain":"stianlarsen-ef7289da","customDomains":["docs.dbhost.app"],"gitSource":{"type":"github","owner":"stianlars1","repo":"dbhost","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af31afd1661757f0de2775c","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Databases","count":21},{"language":"default","tag":"Operate your database","count":9},{"language":"default","tag":"Backups","count":7},{"language":"default","tag":"Dashboard","count":7},{"language":"default","tag":"Connect your app","count":6},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Overview","count":2},{"language":"default","tag":"Collaboration","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"cli","slug":"/cli","pageMetadata":{"title":"DBHost CLI reference","sidebarTitle":"CLI","description":"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.","href":"/cli"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`DBHost CLI is published as `,_jsx(_components.code,{children:`@dbhost-app/cli`}),` for Pro and Business accounts.`]}),`\n`,_jsx(Heading,{level:`2`,id:`install`,children:`Install`}),`\n`,_jsxs(_components.p,{children:[`Run the CLI directly with `,_jsx(_components.code,{children:`npx`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @dbhost-app/cli@latest`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --help`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Or install it globally:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @dbhost-app/cli`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --help`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`DBHost CLI supports macOS and Linux with Node.js 18 or later.`}),`\n`,_jsx(Heading,{level:`2`,id:`authenticate`,children:`Authenticate`}),`\n`,_jsxs(_components.p,{children:[`Create an API key from `,_jsx(_components.strong,{children:`Settings`}),` in the dashboard, then log in:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --api-key`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dbh_your_api_key_here`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The CLI stores the API key locally so you do not need to pass it on every command.`}),`\n`,_jsx(_components.p,{children:`Paid plans support two API key scopes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Selected databases`}),` limits the key to only the databases you choose`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Full account access`}),` can create and manage every database in your account`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Selected databases`}),` is the recommended default. A `,_jsx(_components.code,{children:`Full account access`}),` key is required for database creation, database recovery, collaborator/member/invitation administration, and webhook administration.`]}),`\n`,_jsx(_components.p,{children:`Selected-database keys only list the databases they can access. If you use a database-specific command against an out-of-scope database, the API responds as if the resource were missing.`}),`\n`,_jsx(_components.p,{children:`If you prefer environment variables:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DBHOST_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dbh_your_api_key_here`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DBHOST_API_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`app`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`v1`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Local tests and smoke runs for mutating commands must set `,_jsx(_components.code,{children:`DBHOST_API_URL`}),` to\nan explicit local test server. They fail closed rather than using the\nproduction default. This rule does not authorize a production CLI mutation.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`common-commands`,children:`Common commands`}),`\n`,_jsx(_components.p,{children:`List databases:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`id`}),` column from the list output with `,_jsx(_components.code,{children:`dbhost databases get \u003cid>`}),`.`]}),`\n`,_jsx(_components.p,{children:`Create a database:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` analytics-v2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --display-name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Analytics V2\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Or pass the display name as the second argument:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` analytics-v2`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Analytics V2\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Trigger a backup:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trigger`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Download a backup file:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` download`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 20260326_222551.sql.gz`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Delete a backup file:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 20260326_222551.sql.gz`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Reset a database password:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` reset-password`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Repair ownership after a pg_dump restore (fixes `,_jsx(_components.code,{children:`permission denied`}),` from the app role):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` repair-ownership`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Wait for an asynchronous operation:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` operations`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wait`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`operation-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Manage lifecycle and environment metadata:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stop`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` staging`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`dbhost backups list \u003cdatabase-id>`}),` to discover the `,_jsx(_components.code,{children:`filename`}),` value before you download or delete a specific backup. Downloads save to `,_jsx(_components.code,{children:`./\u003cfilename>`}),` by default; pass `,_jsx(_components.code,{children:`--output`}),` to write the file somewhere else.`]}),`\n`,_jsx(Heading,{level:`2`,id:`json-output`,children:`JSON output`}),`\n`,_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`--json`}),` to any command for machine-readable output:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` databases`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dbhost`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`database-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`command-reference`,children:`Command reference`}),`\n`,_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`dbhost --version`}),` and `,_jsx(_components.code,{children:`dbhost \u003cgroup> --help`}),` to see what your installed\nversion supports. Some commands below, including `,_jsx(_components.code,{children:`pgcrypto`}),` for extensions, the\n`,_jsx(_components.code,{children:`databases migration*`}),` commands, `,_jsx(_components.code,{children:`databases events`}),`, `,_jsx(_components.code,{children:`databases access-audit`}),`\nand the additional-role credential commands, require CLI 0.3.7 or newer.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost auth login [--api-key KEY] [--base-url URL]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost auth logout`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases list [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases get \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases extensions \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases extensions install|upgrade \u003cid> \u003ccitext|pg_trgm|pgcrypto> --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases extensions status \u003cid> \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases create \u003cname> [display-name] [--display-name \"My App\"] [--environment production|staging|development|other] [--scheduled-backup none|daily] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases start|stop|restart \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases environment \u003cid> \u003cproduction|staging|development|other|none> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases limits \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases limits-set \u003cid> \u003ccap> --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases timeouts \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases timeouts-set \u003cid> \u003cstandard|balanced|short> --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases migration \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases migration-request \u003cid> \u003cpublic-ip> [second-public-ip] --ttl-minutes 10-120 [--connections 1|2] [--statement-seconds 60-1800] [--lock-seconds 1-30] --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases migration-credentials \u003cid> --show-secret [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases migration-revoke \u003cid> --yes [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases events \u003cid> [--limit 1-100] [--cursor CURSOR] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases access-audit \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases reset-password \u003cid> [--idempotency-key KEY] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases delete \u003cid> \u003cinternal-name> --yes --idempotency-key KEY [--no-wait] [--timeout SECONDS] [--poll-interval SECONDS] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases recover \u003cid> --yes --idempotency-key KEY [--connection-cap 2-24] [--no-wait] [--timeout SECONDS] [--poll-interval SECONDS] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost databases repair-ownership \u003cid> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost backups list \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost backups trigger \u003cdatabase-id> [--no-wait] [--timeout SECONDS] [--poll-interval SECONDS] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost backups download \u003cdatabase-id> \u003cfilename> [--output PATH] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost backups delete \u003cdatabase-id> \u003cfilename> [--yes] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost operations get \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost operations wait \u003coperation-id> [--timeout SECONDS] [--poll-interval SECONDS] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost network list \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost network add \u003cdatabase-id> \u003ccidr> [label] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost network remove \u003cdatabase-id> \u003centry-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost members list \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost members add \u003cdatabase-id> \u003cemail> \u003cadmin|developer|viewer> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost members update \u003cdatabase-id> \u003cmembership-id> \u003cadmin|developer|viewer> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost members remove \u003cdatabase-id> \u003cmembership-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost invitations list \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost invitations resend|revoke \u003cdatabase-id> \u003cinvitation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost webhooks list [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost webhooks create \u003chttps-url> [database-id] [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost webhooks rotate|disable \u003cwebhook-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed create \u003cname> [--display-name \"My App\"] [--environment production|staging|development|other] [--scheduled-backup none|daily] --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed clone \u003csource-id> \u003cbackup-id> \u003cname> [--display-name \"Clone\"] --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed roles \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed credential \u003cdatabase-id> \u003cowner|runtime|readonly> --show-secret [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed rotate|revoke \u003cdatabase-id> \u003cowner|runtime|readonly> --idempotency-key KEY --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed get-change \u003cdatabase-id> \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed reconcile-change \u003cdatabase-id> \u003coperation-id> --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-limit|legacy-limit \u003cdatabase-id> \u003crole-id> \u003climit> --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-continue-limit|legacy-continue-limit \u003cdatabase-id> \u003crole-id> \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-rename \u003cdatabase-id> \u003crole-id> --display-name \"maintenance\" [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-roles \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-rotate|custom-revoke \u003cdatabase-id> \u003crole-id> --idempotency-key KEY --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-get-change \u003cdatabase-id> \u003crole-id> \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-reconcile-change \u003cdatabase-id> \u003crole-id> \u003coperation-id> --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-delete \u003cdatabase-id> \u003crole-id> --yes [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-create \u003cdatabase-id> \u003cconnection-limit> --display-name \"maintenance\" --access-profile custom|read_only|read_write --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-create \u003cdatabase-id> \u003cconnection-limit> --display-name \"reader\" --access-profile custom|read_only|read_write --idempotency-key KEY [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed custom-credential \u003cdatabase-id> \u003crole-id> --show-secret [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-opt-in \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-roles \u003cdatabase-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-credential \u003cdatabase-id> \u003crole-id> --show-secret [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-rotate|legacy-revoke \u003cdatabase-id> \u003crole-id> --idempotency-key KEY --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-get-change \u003cdatabase-id> \u003crole-id> \u003coperation-id> [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-reconcile-change \u003cdatabase-id> \u003crole-id> \u003coperation-id> --confirm-disconnect [--json]`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`dbhost managed legacy-remove \u003cdatabase-id> \u003crole-id> [--json]`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`databases create --environment development|other`}),` also needs `,_jsx(_components.code,{children:`--scheduled-backup none|daily`}),`; production always keeps daily backups.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`databases migration-request`}),` defaults to `,_jsx(_components.code,{children:`--connections 1 --statement-seconds 600 --lock-seconds 5`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`databases limits-set`}),` changes the server connection cap shared by all roles of one database, within the range `,_jsx(_components.code,{children:`databases limits`}),` reports as `,_jsx(_components.code,{children:`allowedServerConnectionCap`}),`. New databases start at their plan default: Free 2, Pro 3, Business 4, development 2.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`--access-profile read_only|read_write|custom`}),` matches Read only, Read \u0026 write and Custom in the dashboard.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\u003cconnection-limit>`}),` is the role’s own PostgreSQL connection limit: 1-20 for `,_jsx(_components.code,{children:`legacy-create`}),`; `,_jsx(_components.code,{children:`custom-create`}),` accepts 1 or more and the API checks it against the database’s role budget. All roles still share the server connection cap set with `,_jsx(_components.code,{children:`databases limits-set`}),`.`]}),`\n`,_jsx(_components.li,{children:`Managed commands return once; reuse the same idempotency key to reconcile.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Exit codes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`0`}),`: Success`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1`}),`: API, network or other runtime error`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`2`}),`: Usage or validation error; nothing was sent to the API`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`--json`}),`, errors are written to stderr as `,_jsx(_components.code,{children:`{\"error\":{\"code\",\"message\"}}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`dbhost databases extensions \u003cid> --json`}),` lists the supported extensions for\none database. On a database with managed SQL roles, `,_jsx(_components.code,{children:`install`}),` and `,_jsx(_components.code,{children:`upgrade`}),`\nsubmit one asynchronous operation for `,_jsx(_components.code,{children:`citext`}),`, `,_jsx(_components.code,{children:`pg_trgm`}),`, or `,_jsx(_components.code,{children:`pgcrypto`}),`\n(`,_jsx(_components.code,{children:`pgcrypto`}),` needs CLI 0.3.7 or newer); use `,_jsx(_components.code,{children:`status`}),` with the returned\noperation ID. Keep the same idempotency key if the first response is\nuncertain. See `,_jsx(_components.a,{href:`/guides/postgres-extensions`,children:`PostgreSQL extensions`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`dbhost databases create`}),` uses the single-login creation API. For a new\ndatabase with separate managed SQL roles, choose the checkbox in the\ndashboard (all plans) or use the managed-create API with a full-account key on\nPro or Business. The `,_jsx(_components.code,{children:`dbhost managed custom-*`}),` commands manage additional\nroles on a database with managed SQL roles; see\n`,_jsx(_components.a,{href:`/guides/database-roles`,children:`Database roles`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The CLI has no restore or database deletion command. Use the dashboard or the\nAPI; see `,_jsx(_components.a,{href:`/guides/restore-from-backup`,children:`Restore from a DBHost backup`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"DBHost CLI reference","sidebarTitle":"CLI","description":"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.","href":"/cli"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install","slug":"install","depth":2,"children":[]},{"title":"Authenticate","slug":"authenticate","depth":2,"children":[]},{"title":"Common commands","slug":"common-commands","depth":2,"children":[]},{"title":"JSON output","slug":"json-output","depth":2,"children":[]},{"title":"Command reference","slug":"command-reference","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/stianlarsen-ef7289da/58171d9ca8b5b73b/marketing-tracking.js"],"subdomain":"stianlarsen-ef7289da","siteName":"DBHost","title":"DBHost CLI reference - DBHost","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T10:04:27.467Z","originalFileLocation":"cli.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DBHost\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DBHost CLI reference - DBHost\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DBHost\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dbhost.app/cli\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dbhost.app/media/og/dbhost-managed-core-1200x630.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"DBHost CLI reference - DBHost\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dbhost.app/media/og/dbhost-managed-core-1200x630.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stianlarsen-ef7289da/ivJJevrtmwvlIcQ2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DBHost\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003cmeta data-mint-head name=\"og:image:type\" content=\"image/png\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"DBHost — Postgres. Handled. Managed PostgreSQL hosting.\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"DBHost — Postgres. Handled. Managed PostgreSQL hosting.\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dbhost.app/cli\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dbhost.app/#organization\",\"name\":\"DBHost\",\"url\":\"https://docs.dbhost.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stianlarsen-ef7289da/SvPvaAf6yywKnLbd/images/logo-light.svg?fit=max\u0026auto=format\u0026n=SvPvaAf6yywKnLbd\u0026q=85\u0026s=04b5e34c4fa58314f697056f22b10346\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dbhost.app#website\",\"name\":\"DBHost\",\"url\":\"https://docs.dbhost.app\",\"publisher\":{\"@id\":\"https://docs.dbhost.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dbhost.app/cli#webpage\",\"url\":\"https://docs.dbhost.app/cli\",\"name\":\"DBHost CLI reference\",\"description\":\"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\",\"dateModified\":\"2026-10-21T10:04:27.467Z\",\"isPartOf\":{\"@id\":\"https://docs.dbhost.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dbhost.app/cli#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dbhost.app/cli#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://docs.dbhost.app/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DBHost CLI reference\",\"item\":\"https://docs.dbhost.app/cli\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dbhost.app/cli#article\",\"headline\":\"DBHost CLI reference\",\"name\":\"DBHost CLI reference\",\"description\":\"Install the @dbhost-app/cli package and manage DBHost databases, backups, roles, extensions and access from the terminal on Pro and Business.\",\"url\":\"https://docs.dbhost.app/cli\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dbhost.app/cli#webpage\"},\"image\":\"https://dbhost.app/media/og/dbhost-managed-core-1200x630.png\",\"dateModified\":\"2026-10-21T10:04:27.467Z\",\"publisher\":{\"@id\":\"https://docs.dbhost.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dbhost.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DBHost\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DBHost\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli.md","siteName":"DBHost","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","public":true,"pages":[{"title":"Introduction","href":"/introduction"},{"title":"DBHost quickstart: your first PostgreSQL database","sidebarTitle":"Quickstart","description":"Create a managed PostgreSQL database on DBHost in about two minutes, pick your SQL roles and connect with psql over verify-full TLS on port 6432.","href":"/quickstart"},{"title":"DBHost CLI reference","sidebarTitle":"CLI","href":"/cli"},{"title":"DBHost core concepts: databases, pooling, backups, roles","sidebarTitle":"Core concepts","description":"How DBHost works: shared PostgreSQL host, PgBouncer pooling on port 6432, backups, API keys, team roles and customer webhooks explained.","href":"/concepts"},{"title":"Limits and what DBHost does not offer","sidebarTitle":"Limits","href":"/limits"}]},{"group":"Trust \u0026 Security","public":true,"pages":[{"title":"DBHost security model and honest limits","sidebarTitle":"Security","href":"/security"},{"title":"Backups, retention and deletion","sidebarTitle":"Backups and retention","href":"/backups-and-retention"}]},{"group":"Connect your app","public":true,"pages":[{"title":"Connect to DBHost with verify-full TLS","sidebarTitle":"TLS connections","href":"/guides/tls-connections"},{"title":"Next.js and PostgreSQL: Prisma, Drizzle or pg","sidebarTitle":"Next.js + PostgreSQL","href":"/guides/nextjs-postgres"},{"title":"Next.js and Prisma with DBHost PostgreSQL","sidebarTitle":"Next.js + Prisma","href":"/guides/nextjs-prisma"},{"title":"Next.js and Drizzle ORM with DBHost PostgreSQL","sidebarTitle":"Next.js + Drizzle","href":"/guides/nextjs-drizzle"},{"title":"Next.js and node-postgres (pg) with DBHost","sidebarTitle":"Next.js + pg","href":"/guides/nextjs-pg"},{"title":"Run schema migrations over a direct connection","sidebarTitle":"Direct migrations","href":"/guides/direct-migrations"}]},{"group":"Operate your database","public":true,"pages":[{"title":"Database roles: owner, runtime and additional roles","sidebarTitle":"Database roles","href":"/guides/database-roles"},{"title":"Connection limits and query timeouts","sidebarTitle":"Connection limits and timeouts","href":"/guides/connection-limits-and-timeouts"},{"title":"Inactive databases","sidebarTitle":"Inactive databases","href":"/guides/inactive-databases"},{"title":"Supported PostgreSQL extensions: citext, pg_trgm, pgcrypto","sidebarTitle":"PostgreSQL extensions","href":"/guides/postgres-extensions"},{"title":"Restore a database from a DBHost backup","sidebarTitle":"Restore from a backup","href":"/guides/restore-from-backup"},{"title":"Import your own SQL dump with psql or pg_restore","sidebarTitle":"Restore your own dump","href":"/guides/restore-your-own-dump"},{"title":"Preview databases for CI and pull requests","sidebarTitle":"Preview databases","href":"/guides/preview-databases"},{"title":"Automate DBHost with the CLI and REST API","sidebarTitle":"CLI + API automation","href":"/guides/cli-api-automation"},{"title":"Self-Hosted Postgres vs DBHost for Small SaaS Teams","sidebarTitle":"Self-hosted vs DBHost","href":"/guides/self-hosted-postgres-vs-dbhost"}]},{"group":"Dashboard","public":true,"pages":[{"title":"Manage PostgreSQL databases in the DBHost dashboard","sidebarTitle":"Databases","href":"/dashboard/databases"},{"title":"Connection history and access audit","sidebarTitle":"Connection history","href":"/dashboard/connection-history"},{"title":"Account and database activity log","sidebarTitle":"Activity","href":"/dashboard/activity"},{"title":"Data Explorer: read-only SQL in the dashboard","sidebarTitle":"Data Explorer","href":"/dashboard/explorer"},{"title":"Database backups in the DBHost dashboard","sidebarTitle":"Backups","href":"/dashboard/backups"},{"title":"Create and manage DBHost API keys","sidebarTitle":"API keys","href":"/dashboard/api-keys"},{"title":"Account, billing and plan settings","sidebarTitle":"Settings","href":"/dashboard/settings"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"DBHost CLI reference - DBHost","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}