.TH arangoimp 1 "Do 23. Jan 09:57:20 CET 2014" "" "ArangoDB" .SH NAME arangoimp - a bulk importer for the ArangoDB database .SH SYNOPSIS arangoimp [options] .SH DESCRIPTION The arangoimp binary can be used to bulk import data from a file into the ArangoDB database. Input data be present in the input file in either CSV format with column headlines, or in JSON format. If JSON format is used, each line in the input file must contain exactly one JSON document with the attribute name/value pairs to import. .SH OPTIONS For a complete list of options, please refer to the ArangoDB online manual, available at http://www.arangodb.org/ The most important startup options are: .IP "--batch-size " maximum size of data batches that are sent to the server .IP "--configuration " read configuration from file .IP "--collection " name of collection to import into .IP "--create-collection " set to "true" if collection should be created by the import .IP "--file " input file with the data to import .IP "--overwrite " set to "true" to remove all data from the collection prior to the import .IP "--quote " optional quote character to be used .IP "--separator " separator character or string to be used. the default value is "," .IP "--type " set to "json", "tsv" or "csv", depending on the input file format .IP "--server.endpoint " server endpoint to connect to, consisting of protocol, ip address and port .IP "--server.database " database name to use when connection (default: "_system") .IP "--server.username " username to use when connecting (default "root") .IP "--server.password " password to use when connecting. Don't specify this option to get a password prompt .IP "--server.disable-authentication " disable the password prompt and authentication when connecting to the server .SH EXAMPLES .EX shell> arangoimp --file heroes.json --type json --collection superheroes --create-collection true imports JSON data from file heroes.json into collection superhoeres. creates the collection if it does not exist .EE .EX shell> arangoimp --file export.csv --type csv --collection mydata imports CSV data from export.csv into existing collection mydata .EE .EX shell> arangoimp --file values.json --collection mydata --server.endpoint tcp://127.0.0.1:8529 --server.database mydb imports JSON data from file values.json into collection mydata, using a different server endpoint and database .EE .SH AUTHOR Copyright triAGENS GmbH, Cologne, Germany