Ganonink / influxdb-backup

Backup and Restore for InfluxDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfluxDB backup and restore

Utility tools to backup and restore InfluxDB databases.

influxdb-dump dumps all series from an InfluxDB to a file.

influxdb-restore writes all series from a file to an InfluxDB.

Installation

You need a Go development environment. To install to $GOPATH/bin do:

$ go get github.com/eckardt/influxdb-backup/...

Usage

To copy all datapoints (all series) from one database to another do:

$ influxdb-dump -database oldDB | influxdb-restore -database newDB

See influxdb-dump -help for more usage information.

License MIT

About

Backup and Restore for InfluxDB


Languages

Language:Go 100.0%