Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
7 Command-line Interface for Administration
Chapter Sections
Chapters

7.1. Command Line Tools and Availability

As of Couchbase Server 2.0, the following publicly available tools have been renamed, consolidated or removed. This is to provide better usability, and reduce the number of commands required to manage Couchbase Server:

Table 7.1. Administration — Command-line Tools and Availability

ToolServer VersionsDescription/Status
couchbase-cli2.0The main tool for communicating and managing your Couchbase Server.
cbstats2.0A tool for checking a Couchbase Server node for its statistics.
cbepctl2.0A tool for controlling the vBucket states on a Couchbase Server node. Also responsible for controlling the configuration, memory and disk persistence behavior. Formerly provided as the separate tools, cbvbucketctl and cbflushctl in Couchbase 1.8.
cbcollect_info2.0A support tool for gathering statistics from a Couchbase Server node and used by Couchbase Technical Support.
cbbackup2.0Creates a copy of all the data for a cluster, bucket, node, or combination and stores it in a file on disk.
cbrestore2.0Reads in data from a backup file and reload data for a cluster, bucket, node, or combination into RAM.
cbtransfer2.0This tool is the underlying, generic data transfer tool that cbbackup and cbrestore are built upon.
cbdocloader2.0Used for loading sample data sets. Can be used to load a directory of JSON files into Couchbase Server.
cbworkloadgen2.0Generates test workload for cluster.
cbanalyze-core2.0Helper script to parse and analyze core dump from a Couchbase node.
vbuckettool2.0Returns vBucket and node where a key should be for a Couchbase bucket. These two values based on Couchbase Server internal hashing algorithm. Moved as of 1.8 to /bin/tools directory.
cbflushctl1.8Replaced by cbepctl in 2.0.
cbvbucketctl1.8Replaced by cbepctl in 2.0.

By default, the command-line tools are installed into the following locations on each platform:

Linux/opt/couchbase/bin, /opt/couchbase/bin/install, /opt/couchbase/bin/tools, /opt/couchbase/bin/tools/unsupported
WindowsC:\Program Files\couchbase\server\bin, C:\Program Files\couchbase\server\bin\install, and C:\Program Files\couchbase\server\bin\tools.
Mac OS X/Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin