influxdump - InfluxDB data backup tool
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.
Usage
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
Install
$ pip install influxdump
Packaging
Create packages:
$ python setup.py sdist bdist_wheel
Push package:
$ twine upload dist/*
$ twine upload -r pypi dist/*
License
This software is licensed under the Apache License 2.0. See the LICENSE file in the top distribution directory for the full license text.
Metadata
Release files for influxdump 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| influxdump-1.0.7.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| influxdump-1.0.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 26.1 kB
Release files / influxdump-1.0.7.tar.gz
| Download URL | influxdump-1.0.7.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2346dec9122be68cc16e1e5be7d3cecbefc25cf62d6e64f8a781f91ad92cdb03
|
|
BLAKE2b-256 checksum How to use checksums |
31d497016b5e8f695cba9aee7d38e20c215a09478ce36cce2342e4d2a4eec8d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / influxdump-1.0.7-py2.py3-none-any.whl
| Download URL | influxdump-1.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
615509b02f3ec4f655cfeecbc0e2c23413bc280f418bf8a39294ea42f1e65084
|
|
BLAKE2b-256 checksum How to use checksums |
fe2fd46fb22bf24da72e42e842838f9d43e5e593f31bebfe6c14773be74134c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|