mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-06 14:51:57 +08:00
This uses a shared route for all 6 objects, as well as shared cli and sdk code. Unfortunately, there is not a way to share such code in openapi.yml, so that part ends up quite verbose. Eventually, we should add a web interface for this, but it's best to wait until we refactor the web interfaces for the objects to consistently use the current postgres web interface.
42 lines
2.5 KiB
Text
42 lines
2.5 KiB
Text
! Invalid option: -X
|
|
|
|
Manage PostgreSQL databases
|
|
|
|
Usage:
|
|
ubi pg command [...]
|
|
ubi pg (location/pg-name | pg-id) [post-options] post-command [...]
|
|
|
|
Commands:
|
|
list List PostgreSQL databases
|
|
|
|
Post Commands:
|
|
add-config-entries Add configuration entries to a PostgreSQL database
|
|
add-firewall-rule Add a PostgreSQL firewall rule
|
|
add-metric-destination Add a PostgreSQL metric destination
|
|
add-pgbouncer-config-entries Add pgbouncer configuration entries to a PostgreSQL database
|
|
ca-certificates Print CA certificates for a PostgreSQL database
|
|
create Create a PostgreSQL database
|
|
create-read-replica Create a read replica for a PostgreSQL database
|
|
delete-firewall-rule Delete a PostgreSQL firewall rule
|
|
delete-metric-destination Delete a PostgreSQL metric destination
|
|
destroy Destroy a PostgreSQL database
|
|
modify Modify a PostgreSQL database cluster
|
|
modify-firewall-rule Modify a PostgreSQL firewall rule
|
|
pg_dump Dump a single PostgreSQL database using `pg_dump`
|
|
pg_dumpall Dump a entire PostgreSQL database cluster using `pg_dumpall`
|
|
promote-read-replica Promote a read replica PostgreSQL database to a primary
|
|
psql Connect to a PostgreSQL database using `psql`
|
|
remove-config-entries Remove configuration entries from a PostgreSQL database
|
|
remove-pgbouncer-config-entries Remove pgbouncer configuration entries from a PostgreSQL database
|
|
rename Rename a PostgreSQL database
|
|
reset-superuser-password Reset the superuser password for a PostgreSQL database
|
|
restart Restart a PostgreSQL database cluster
|
|
restore Restore a PostgreSQL database backup to a new database
|
|
set-maintenance-window Set the maintenance window for a PostgreSQL database
|
|
show Show details for a PostgreSQL database
|
|
show-config Show configuration for a PostgreSQL database
|
|
show-pgbouncer-config Show pgbouncer configuration for a PostgreSQL database
|
|
|
|
Post Options:
|
|
-d, --dbname=name override database name
|
|
-U, --username=name override username
|