Details
Description
Install couchbase server EE 3.0.0-513
cbbackup help does not show some examples of running incremental and differential backup. What options to use in those two types of backup.
[root@centos-64-x64 ~]# /opt/couchbase/bin/cbbackup -help
Usage: cbbackup [options] source backup_dir
Online backup of a couchbase cluster or server node.
Examples:
cbbackup http://HOST:8091 /backups/backup-42
cbbackup couchbase://HOST:8091 /backups/backup-42
Options:
-h, --help show this help message and exit
-b BUCKET_SOURCE, --bucket-source=BUCKET_SOURCE
single bucket from source to backup
--single-node use a single server node from the source only,
not all server nodes from the entire cluster;
this single server node is defined by the source URL
-m MODE, --mode=MODE backup mode: full, diff or accu [default:diff]
-i ID, --id=ID Transfer only items that match a vbucketID
-k KEY, --key=KEY Transfer only items with keys that match a regexp
-n, --dry-run No actual transfer; just validate parameters, files,
connectivity and configurations
-u USERNAME, --username=USERNAME
REST username for source cluster or server node
-p PASSWORD, --password=PASSWORD
REST password for source cluster or server node
-t THREADS, --threads=THREADS
Number of concurrent workers threads performing the
transfer
-v, --verbose verbose logging; more -v's provide more verbosity
-x EXTRA, --extra=EXTRA
Provide extra, uncommon config parameters;
comma-separated key=val(,key=val)* pairs
Available extra config parameters (-x):
batch_max_bytes=400000 (Transfer this # of bytes per batch);
batch_max_size=1000 (Transfer this # of documents per batch);
cbb_max_mb=100000 (Split backup file on destination cluster if it
exceeds MB); conflict_resolve=1 (By default, disable conflict
resolution.); data_only=0 (For value 1, only transfer data from a
backup file or cluster); design_doc_only=0 (For value 1, transfer
design documents only from a backup file or cluster.); max_retry=10
(Max number of sequential retries if transfer fails); mcd_compatible=1
(For value 0, display extended fields for stdout output.); nmv_retry=1
(0 or 1, where 1 retries transfer after a NOT_MY_VBUCKET message);
recv_min_bytes=4096 (Amount of bytes for every TCP/IP call
transferred); rehash=0 (For value 1, transfer data from Mac OSX
platform); report=5 (Number batches transferred before updating
progress bar in console); report_full=2000 (Number batches transferred
before emitting progress information in console); seqno=0 (By default,
start seqno from beginning.); try_xwm=1 (Transfer documents with
metadata. 0 should only be used if you transfer from 1.8.x to 1.8.x)
Attachments
For Gerrit Dashboard: MB-10666 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
35201,2 | MB-10666: Add more examples for IBR. | master | couchbase-cli | Status: MERGED | +2 | +1 |