> > reference > databases

doctl databases

Go to Navigation

Usage

doctl databases [flags]

Aliases

db, dbs, d, database

Description

The commands under doctl databases are for managing your MySQL, Redis, and PostgreSQL database services.

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctldoctl is a command line interface (CLI) for the DigitalOcean API.
doctl databases backupsList database cluster backups
doctl databases connectionRetrieve connection details for a database cluster
doctl databases createCreate a database cluster
doctl databases dbDisplay commands for managing individual databases within a cluster
doctl databases deleteDelete a database cluster
doctl databases getGet details for a database cluster
doctl databases listList your database clusters
doctl databases maintenance-windowDisplay commands for scheduling automatic maintenance on your database cluster
doctl databases migrateMigrate a database cluster to a new region
doctl databases poolDisplay commands for managing connection pools
doctl databases replicaDisplay commands to manage read-only database replicas
doctl databases resizeResize a database cluster
doctl databases sql-modeDisplay commands to configure a MySQL database cluster's SQL modes
doctl databases userDisplay commands for managing database users

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false