connect deposit - pgrecm/RECM GitHub Wiki

Home - Top

Connect to a PostgreSQL DEPOSIT. If you are already connected, the previous connection is automatically close. (See also command 'connect target' )

Option/Qualifier

/host="..." Hostname or host IP to connect to.
/port=nnn PostgresSQL listen port number
/usr="..." User to connect to (must be SUPERUSER)
/pwd="..." Password associated
/db="..." DEPOSIT Database name.
Or
/name="..." DEPOSIT name to connect to.

Requirement

The PostgreSQL configuration parameter 'cluster_name' must be set.

Example

RECM> connect deposit /host=192.168.1.62/port=5555/usr=recmadm/pwd=########/db=recm_db;
recm-inf: Connected to deposit 'REPO12'

RECM>  
 

if you already connect to the DEPOSIT, you can use the quicker way to connect to as follow

RECM> connect deposit /name="REPO12" 
recm-inf: Connected to deposit 'REPO12'

RECM>  
⚠️ **GitHub.com Fallback** ⚠️