Skip to content

unionstreetmedia/elasticsearch-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElasticSearch Backup

Small utility for backing up ElasticSearch.

$ bin/esbackup -h

usage: esbackup [-h] [-v] [--host HOST] [--port PORT] [--filePath FILEPATH]
                {pack,unpack} ...

ElasticSearch backup

Optional arguments:
  -h, --help           Show this help message and exit.
  -v, --version        Show program's version number and exit.
  --host HOST          Host location of ElastSearch instance.
  --port PORT          The ElasticSearch is listening on.
  --filePath FILEPATH  Target directory for backup files

commands:
  {pack,unpack}
$ bin/esbackup pack -h

usage: esbackup pack [-h] [--index INDEX] [--type TYPE] [--no-compress]

Optional arguments:
  -h, --help     Show this help message and exit.
  --index INDEX  The index to be archived.
  --type TYPE    The type to be archived.
  --no-compress  Do not compress the resulting file.
$ bin/esbackup unpack -h

usage: esbackup unpack [-h] [--ver VER]

Optional arguments:
  -h, --help  Show this help message and exit.
  --ver VER   Which ES backup to pull from, defaults to latest

About

Nodejs util to back up an Elasticsearch cluster/index/type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published