Recovers one or more servers.


The basic syntax is:

couchbase-cli recovery -c [host]:8091 -u [admin] -p [password] [options]


To re-add a server node to a cluster, use the recovery command with the --recovery-type parameter.


The following are the command options:

Table 1. Recovery options
Option Description
--server-recovery=[host]:[port] Server to recover.
--recovery-type=[delta|full] Type of recovery to be performed for the node: delta or full.


To set incremental node recovery type for a server:

couchbase-cli recovery -c -u Administrator -p password \   	
--server-recovery=	--recovery-type=delta	   

Example sequence: Set failover, re-add, recover, and rebalance

The following example shows a failover, readd, recovery and rebalance operations in a sequence:
  1. A node in a cluster is gracefully failed over.
  2. The node is re-added to the cluster.
  3. Delta recovery is implemented for the node.
  4. The rebalancing operation is implemented.
couchbase-cli failover -c -u Administrator -p password \   	
couchbase-cli server-readd -c -u Administrator -p password \    	
couchbase-cli recovery -c -u Administrator -p password \    	
--server-recovery= --recovery-type=delta
couchbase-cli rebalance -c -u Administrator -p password