list, ls

Follow
 dbvcli list [--OPTIONS]
 dbvcli ls [--OPTIONS]

List configurations

Option

Type

Description

--name, -d

string

list configurations with the specified configuration name only

--type, -t

type

list configurations with the specified configuration type only

--id

number

list configuration with the specified configuration ID only

--with-db-state

include database states in the list (increases time taken to generate the list)

Example
-bash-4.2$ ./dbvcli -t pgsql list --with-db-state
Connecting to the Control Center at centlin72.oraclekiwi.co.nz:4433 ✓


--   ------   -----   ----------------------------------------   ---------------------------------------------   --------   -----------   --------
ID   Name     Type    Primary                                    Standby                                         Observer   Auto Update   Time Gap
--   ------   -----   ----------------------------------------   ---------------------------------------------   --------   -----------   --------
2    PG5432   pgsql   ONLINE (centlin72.oraclekiwi.co.nz:5432)   HOT STANDBY (centlin71.oraclekiwi.co.nz:5432)   On         STREAMING     In Sync
3    PG5433   pgsql   ONLINE (centlin71.oraclekiwi.co.nz:5433)   HOT STANDBY (centlin72.oraclekiwi.co.nz:5433)   On         ARCHIVING     In Sync
Have more questions? Submit a request

Comments