######################################
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
<https://docs.influxdata.com/influxdb/v1.1/administration/backup_and_restore/>`_
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
=======
.. code:: sh
$ pip install influxdump
Packaging
=========
Create packages:
.. code:: sh
$ python setup.py sdist bdist_wheel
Push package:
.. code:: sh
$ 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/gams/influxdump",
"name": "influxdump",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "influxdb",
"author": "Stefan Berder <stefan@measureofquality.com>",
"author_email": "code+influxdump@measureofquality.com",
"download_url": "https://files.pythonhosted.org/packages/31/d4/97016b5e8f695cba9aee7d38e20c215a09478ce36cce2342e4d2a4eec8d1/influxdump-1.0.7.tar.gz",
"platform": null,
"description": "######################################\ninfluxdump - InfluxDB data backup tool\n######################################\n\nThe influxdump utility performs data dumps, producing json files that can then\nbe loaded back into a database.\nThe major difference with `influxd backup\n<https://docs.influxdata.com/influxdb/v1.1/administration/backup_and_restore/>`_\ncommand is that `influxdump` is creating a data snapshot with a lot of\nflexibility on how to load it back in the database.\n\nUsage\n=====\n\nDump all data from a database::\n\n $ influxdump -u jdoe -W -d database > data_dump.json\n\nDump data from measurements containing the string 'node' in chunk files of\n50,000 records::\n\n $ influxdump -u jdoe -W -d database -F _dump -c 50000 -m \"node\"\n\nDump data from measurements starting with the string 'node' in chunk files of\n10,000 records (default) between 1st January 2019 and 31st March 2019 in French\ntimezone::\n\n $ 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\"\n\nLoad data from a dump folder::\n\n $ influxdump -u jdoe -W -d database -F _dump\n\n\nInstall\n=======\n\n.. code:: sh\n\n $ pip install influxdump\n\nPackaging\n=========\n\nCreate packages:\n\n.. code:: sh\n\n $ python setup.py sdist bdist_wheel\n\nPush package:\n\n.. code:: sh\n\n $ twine upload dist/*\n $ twine upload -r pypi dist/*\n\n\nLicense\n=======\n\nThis software is licensed under the Apache License 2.0. See the LICENSE file in the top distribution directory for the full license text.\n\n\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "InfluxDB data backup tool",
"version": "1.0.7",
"project_urls": {
"Homepage": "https://github.com/gams/influxdump"
},
"split_keywords": [
"influxdb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fe2fd46fb22bf24da72e42e842838f9d43e5e593f31bebfe6c14773be74134c1",
"md5": "ca9a629d1844ffe2b9ef81c195eba70d",
"sha256": "615509b02f3ec4f655cfeecbc0e2c23413bc280f418bf8a39294ea42f1e65084"
},
"downloads": -1,
"filename": "influxdump-1.0.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "ca9a629d1844ffe2b9ef81c195eba70d",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 16586,
"upload_time": "2023-12-05T04:54:40",
"upload_time_iso_8601": "2023-12-05T04:54:40.360289Z",
"url": "https://files.pythonhosted.org/packages/fe/2f/d46fb22bf24da72e42e842838f9d43e5e593f31bebfe6c14773be74134c1/influxdump-1.0.7-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "31d497016b5e8f695cba9aee7d38e20c215a09478ce36cce2342e4d2a4eec8d1",
"md5": "99a0b5e2b58d1e041b58e72555e5d930",
"sha256": "2346dec9122be68cc16e1e5be7d3cecbefc25cf62d6e64f8a781f91ad92cdb03"
},
"downloads": -1,
"filename": "influxdump-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "99a0b5e2b58d1e041b58e72555e5d930",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9473,
"upload_time": "2023-12-05T04:54:42",
"upload_time_iso_8601": "2023-12-05T04:54:42.674737Z",
"url": "https://files.pythonhosted.org/packages/31/d4/97016b5e8f695cba9aee7d38e20c215a09478ce36cce2342e4d2a4eec8d1/influxdump-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-05 04:54:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gams",
"github_project": "influxdump",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "influxdump"
}