Skip to main content

A dump tool for etcd

Project description

A dump & load tool for etcd, which respects all key properties (including indexes) of public keys.

Installation

You can install etcddump from sources by cloning this repository and run

$ sudo python setup.py install

Alternatively you may use pip:

$ sudo pip install etcddump

After you’ve installed etcddump, the program etcdumper will be available on your system

The only dependency of etcddump is python-ectd version 0.3.0 or later.

Usage

Usage is really simple and has been thought so that it resembles how most dumper programs work.

# dump to stdout
etcdumper dump https://etcd.example.com:4001

# dump to file
etcdumper --file dump.json dump https://etcd.example.com:4001

# restore from file
etcdumper --file dump.json restore http://localhost:4001

# try to maintain the same indexes as in the original cluster
etcdumper --file dump.json --preserve-indexes restore https://etcd.example.com:4001

#dump & restore in one command using pipes
etcdumper dump https://etcd.example.com:4001 | etcdumper restore http://localhost:4001

Project details


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
etcddump-0.0.1.linux-x86_64.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Dumb Binary any Jan 21, 2014
etcddump-0.0.1.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Jan 21, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page