A newer version of this documentation is available.

View Latest

cbimport

      +

      A utility for importing data into a Couchbase cluster

      SYNOPSIS

      cbimport [--version] [--help] <command> [<args>]

      DESCRIPTION

      cbimport is used to import data from various sources into Couchbase.

      For more information on how specific commands work you can run "cbimport <command> --help".

      OPTIONS

      --version

      Prints the cbimport suite version that the cbimport program came from.

      -h,--help

      Prints the synopsis and a list of commands. If a cbimport command is named, this option will bring up the manual page for that command.

      CBIMPORT COMMANDS

      cbimport-csv

      Imports data into Couchbase from a CSV file.

      cbimport-json

      Imports data into Couchbase from a JSON file.

      ENVIRONMENT AND CONFIGURATION VARIABLES

      (None)

      DISCUSSION

      The cbimport command is used to import data from various sources into a Couchbase cluster. Each supported format is a subcommand of the cbimport utility.

      JSON SPECIFICATION

      The cbimport utility translates data read from disk into JSON documents prior to importing them into the provided cluster. The converted documents must conform to the JSON specification defined in RFC 8259.

      This means cbimport will skip importing documents that either: 1) Are not valid JSON 2) Are not valid UTF-8 data, as defined in RFC 8259 JSON transferred between systems MUST be encoded using UTF-8.

      Documents that are skipped during an import will be logged, along with the line number/index from which they originated. This information can be used to single out/fix invalid documents prior to re-importing.

      FURTHER DOCUMENTATION

      A manual page is available for each of the supported sources listed above.

      AUTHORS

      cbimport is a Couchbase Source tool and was written by Couchbase.

      REPORTING BUGS

      Report urgent issues to the Couchbase Support Team at support@couchbase.com. Bugs can be reported to the Couchbase Jira Bug Tracker at http://www.couchbase.com/issues.

      CBIMPORT

      Part of the cbimport suite