Skip to content

storj-thirdparty/connector-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connector-influxdb (uplink v1.0.5)

Codacy Badge Go Report Card Cloud Build

Overview

The InfluxDB Connector connects to an InfluxDB database, takes a backup of the specified database and uploads the backup files on Storj network.

Usage:
  connector-influxdb [command] <flags>

Available Commands:
  help        Help about any command
  store       Command to upload data to a Storj V3 network.
  version     Prints the version of the tool

store - Connect to the specified database(default: db_property.json). Backups of the database are generated using tooling provided by InfluxDB then uploaded to the Storj network. Connect to a Storj v3 network using the access specified in the Storj configuration file (default: storj_config.json).

Sample configuration files are provided in the ./config folder.

Requirements and Install

To build from scratch, install the latest Go.

Note: Ensure go modules are enabled (GO111MODULE=on)

Option #1: clone this repo (most common)

To clone the repo

git clone https://github.com/storj-thirdparty/connector-influxdb.git

Then, build the project using the following:

cd connector-influxdb
go build

Option #2: go get into your gopath

To download the project inside your GOPATH use the following command:

go get github.com/storj-thridparty/connector-influxdb

Run (short version)

Once you have built the project run the following commands as per your requirement:

Get help
$ ./connector-influxdb --help
Check version
$ ./connector-influxdb --version
Create backup from InfluxDB and upload to Storj
$ ./connector-influxdb store 

Documentation