0.0.1 • Published 9 years ago

influxdb-migrator v0.0.1

Weekly downloads
9
License
Whatever
Repository
github
Last release
9 years ago

wercker status

InfluxDB Migrator

A script to migrator old time series to new time series or to transfer data between old and new time series.

How it works

  • You set a set of source database
  • You set a set of target database
  • You sepecify a query

It will go over all sources, run query, fetch the result, import into the target

The time will be retain. however the sequence_number is not, by default. If you want to retain sequence_number, specify, :force_sequence_number

Install

  npm install -g influxdb_importer

Using

With a single timeseries

  miata -c config.json -q "SELECT * FROM timeseries where time > now() -
30d"