Skip to main content

InfluxDB data backup tool

Project description

The influxdump utility performs data dumps, producing json files that can then be loaded back into a database. The major difference with influxd backup command is that influxdump is creating a data snapshot with a lot of flexibility on how to load it back in the database.


Dump all data from a database:

$ influxdump -u jdoe -W -d database > data_dump.json

Dump data from measurements containing the string ‘node’ in chunk files of 50,000 records:

$ influxdump -u jdoe -W -d database -f _dump -c 50000 -m "node"

Dump data from measurements starting with the string ‘node’ in chunk files of 10,000 records (default) between 1st January 2019 and 31st March 2019 in French timezone:

$ influxdump -u jdoe -W -d database -f _dump -m "^node.*" --start "2019-01-01T00:00:00+01:00" --end "2019-03-31T23:59:59+01:00"

Load data from a dump folder:

$ influxdump -u jdoe -W -d database -f _dump


$ pip install influxdump


Create packages:

$ python sdist bdist_wheel

Push package:

$ twine upload dist/*
$ twine upload -r pypi dist/*


This software is licensed under the Apache License 2.0. See the LICENSE file in the top distribution directory for the full license text.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for influxdump, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size influxdump-1.0.6-py2.py3-none-any.whl (12.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size influxdump-1.0.6.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page