Skip to content

ezgh databases

Managed PostgreSQL, Percona Server and MariaDB databases.

Updated View as Markdown
ezgh databases <command>

A database is a managed PostgreSQL, Percona Server or MariaDB server in a subnet of your VPC, reached at one endpoint over TLS. It’s backed up every day and can be restored to any time in its restorable ranges. A failover keeps the same endpoint.

Everything is in a project (--project, EZGH_PROJECT or the profile’s). <database> is its ID (dbi_…), UUID or name; <backup> is a dbb_ ID and <deployment> a dbg_ ID. Logical databases and users are named by name. Creates, changes and deletes run as operations: --wait waits for them.

Flags

This command also takes the global flags.

Subcommands

Command Description
ezgh databases backups Databases’ backups
ezgh databases blue-green Blue/green deployments: upgrades with a switchover
ezgh databases connect Open a local port to a database, from anywhere
ezgh databases connection Show how to connect to a database
ezgh databases create Create a database
ezgh databases delete Delete a database
ezgh databases engine-versions List the engines and their versions
ezgh databases events List a database’s events
ezgh databases failover Fail a database over
ezgh databases get Show a database
ezgh databases list List the project’s databases
ezgh databases logical-databases A database’s logical databases
ezgh databases operations Database creates, changes and deletes in progress
ezgh databases restore Restore a backup or a point in time into a new database
ezgh databases rotate-admin-password Give a database a new admin password
ezgh databases update Change a database
ezgh databases users A database’s users
Navigation

Type to search…

↑↓ navigate↵ selectEsc close