CLI interface for interacting with etcd, a highly-available key-value pair store.
More information.
- Display the value associated with a specified key:
etcdctl put {my/key} {my_value}
- Store a key-value pair, reading the value from a file:
etcdctl put {my/file} < {path/to/file.txt}
- Save a snapshot of the etcd keystore:
etcdctl snapshot save {path/to/snapshot.db}
- Restore a snapshot of an etcd keystore (restart the etcd server afterwards):
etcdctl snapshot restore {path/to/snapshot.db}
etcdctl user add {my_user}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY