register cluster - pgrecm/RECM GitHub Wiki

Home - Top

This command register the cluster in the current DEPOSIT.

Options and qualifiers

/force Register again the cluster.
/cid= Force a registration, using a specific cluster ID.

Description

This command register the current connected cluster to the currently connected DEPOSIT. The '/force' option perform the 'registration' without loosing the content of the DEPOSIT (See 'register files' for recovering backup files). If you want to force a cleanup, you have to use 'delete cluster' command, and register it again.

Once the register id done, the connection to the DEPOSIT is automatically associated to the cluster connection.

Example

RECM> connect cluster /host=127.0.0.1/port=6666/db=postgres /usr=postgres/pwd=postgres/db=postgres; 
recm-inf: Connected to cluster 'R6666'
RECM> connect deposit/name=REPO12 
recm-inf: Connected to deposit 'REPO12'
recm-err(c04): Not registerd into this deposit. Use 'register' command.
RECM> register cluster; 
recm-inf: Registering cluster 'R6666' (IP 192.168.1.62)
recm-inf: Cluster CID will be 3.
recm-inf: Cluster 'R6666' registered in deposit 'REPO12' (cid=3)
RECM>  
  
⚠️ **GitHub.com Fallback** ⚠️