Influxdb Backup.sh

Simple dump and restore for InfluxDB
Alternatives To Influxdb Backup.sh
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Influxdata Operator73
a year ago11mitGo
A k8s operator for InfluxDB
Influxdb Backup54
7 years agoMay 25, 20218mitGo
Backup and Restore for InfluxDB
Influxdb Tools41
6 months ago3apache-2.0Python
InfluxDB Tools
Influxdb Backup.sh21
8 years ago1Shell
Simple dump and restore for InfluxDB
Docker Influxdb To S321
6 years ago1gpl-3.0Shell
Backup and restore InfluxDB databases from S3
Iotstackbackup20
18 days agomitShell
Backup and Restore scripts for SensorsIot/IOTstack
Embed Influxdb1894 months ago7November 12, 20191apache-2.0Java
Download and start influxDB servers at runtime
Influxdb Incremental Restore8
4 years ago8March 21, 20197mitJavaScript
InfluxDB incremental restore script
Jmxtrans8
6 years agoShell
Visualizing JVM metrics with JMXTrans -> InfluxDB -> Grafana
Vmax_monitoring4
5 years ago1mitPython
VMAX Monitoring using InfluxDB and Grafana
Alternatives To Influxdb Backup.sh
Select To Compare


Alternative Project Comparisons
Readme

Dump and Restore for InfluxDB

influxdb-backup.sh is a simple bash script which uses curl and jq to dump and restore all the points in an influxdb database.

  • ./influxdb-backup.sh dump fetches all points from a database and outputs them as line-delimited JSON to stdout.
  • ./influxdb-backup.sh restore reads a dump from stdin and writes all points to a database one by one.

Installation

Download influxdb-backup.sh to your computer and make it executable:

$ curl https://raw.githubusercontent.com/eckardt/influxdb-backup.sh/master/influxdb-backup.sh -o influxdb-backup.sh && chmod +x ./influxdb-backup.sh && ./influxdb-backup.sh -?

Usage

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

$ ./influxdb-backup.sh dump oldDB | ./influxdb-backup.sh restore newDB

See ./influxdb-backup.sh dump -? for more usage information:

Usage: ./influxdb-backup.sh dump DATABASE [options...]
	-u USERNAME	(default: root)
	-p PASSWORD	(default: root)
	-h HOST		(default: localhost:8086)
	-s		(use HTTPS)
Popular Influxdb Projects
Popular Restore Projects
Popular Data Storage Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Database
Restore
Influxdb