Files
ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test-pg -X pg_dump.txt
Jeremy Evans 9fc326c965 Minor CLI help improvements
* Spaces around `|` between name and id.

* `Get program help` -> `Get command help`

* `private-subnet-id` -> `ps-id`
2025-03-13 09:20:15 -07:00

30 lines
1.3 KiB
Plaintext

! 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-firewall-rule Add a PostgreSQL firewall rule
add-metric-destination Add a PostgreSQL metric destination
create Create a PostgreSQL database
delete-firewall-rule Delete a PostgreSQL firewall rule
delete-metric-destination Delete a PostgreSQL metric destination
destroy Destroy a PostgreSQL database
pg_dump Dump a single PostgreSQL database using `pg_dump`
pg_dumpall Dump a entire PostgreSQL database cluster using `pg_dumpall`
psql Connect to a PostgreSQL database using `psql`
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
show Show details for a PostgreSQL database
Post Options:
-d, --dbname=name override database name
-U, --username=name override username