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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etcddump-0.0.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file etcddump-0.0.1.tar.gz
.
File metadata
- Download URL: etcddump-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f439aa22041fce55136747547cd437d98bee987f85d5eb97eb50abd7b22c1c |
|
MD5 | 52bae8a9175eef8dbd9bd46d47c0832a |
|
BLAKE2b-256 | 8192d9d284dfd1344073b2e35c780df5587d29b3b2de0d14638b01eda412fed9 |
File details
Details for the file etcddump-0.0.1.linux-x86_64.tar.gz
.
File metadata
- Download URL: etcddump-0.0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3719bfd224a891749e10599e59daba8a81e05f7ac71b4e75fcffcd5a066cb186 |
|
MD5 | 956ca32cfb2c1a81bf119070ca01fa60 |
|
BLAKE2b-256 | 04e2edee6024e9f2397bb4049a4e7ee0eac3ffe651a1d0f44ded148e54c9473a |