Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (16 loc) · 589 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 589 Bytes

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