Skip to main content

CLI for easy ES backup with simple tracking of non-modified indexes

Project description

ES backup tool

CLI for easy ES backup with simple tracking of non-modified indexes

usage: Elasticsearch backup [-h] -e es_url [-b batch_size] [-s scroll_time] [-t request_timeout] [-i [indexes ...]] [-x exclude] [-m meta_file] [-f force] [-o output_path]

Makes a backup of all (or specified) indices

optional arguments:
  -h, --help            show this help message and exit
  -e es_url, --es-url es_url
                        Elasticsearch url with url-encoded credentials (if required)
  -b batch_size, --batch-size batch_size
                        Elasticsearch batch size (size) parameter to fetch documents
  -s scroll_time, --scroll-time scroll_time
                        Elasticsearch scroll time parameter to fetch documents
  -t request_timeout, --timeout request_timeout
                        Elasticsearch request timeout in seconds
  -i [indexes ...], --index [indexes ...]
                        Index(es) to backup. If not specified, all indexes are backed up. ES regexes are supported
  -x exclude, --exclude exclude
                        Regular expression to exclude indexes. By default skips all indexes start with '.'
  -m meta_file, --meta-file meta_file
                        Path to metadata file to track indexes changes
  -f force, --force force
                        Ignores exising metadata file and creates backup of all specified indexes
  -o output_path, --output-path output_path
                        Path where backup archives will be stored

Project details


Download files

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

Source Distribution

tresbackup-0.0.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

tresbackup-0.0.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file tresbackup-0.0.1.tar.gz.

File metadata

  • Download URL: tresbackup-0.0.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for tresbackup-0.0.1.tar.gz
Algorithm Hash digest
SHA256 308f18a06ea8aac2b60be520b49c7f2a75b774c33174a9f0effff113ee66c469
MD5 a3747114a3d942aa90e63d3ce2755ada
BLAKE2b-256 a0c3d6aadd7301c1e4d73f7588f8d6480cc5c8ce440af32b4e4f43463734e155

See more details on using hashes here.

File details

Details for the file tresbackup-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tresbackup-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for tresbackup-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66b662076cd87cfdb17c8a90ba15ca87b435d387d6e78524893eced3837cd241
MD5 bca44dd5e562702946b3689392b0aef7
BLAKE2b-256 b5b41513abb07239665dd870789040132927cd081f80d99cedf81a900a5568d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page