Difference between revisions of "Etcdctl snapshot save"
Jump to navigation
Jump to search
(Redirected page to Etcdctl) Tags: New redirect, Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | [[etcdctl snapshot]] save | ||
+ | |||
+ | [[ETCDCTL_API]]=3 [[etcdctl snapshot]] save /etc/etcd-snapshot.db | ||
+ | |||
+ | |||
+ | ETCDCTL_API=3 [[etcdctl --endpoints]] $ENDPOINT snapshot save /path/for/backup/snapshot.db | ||
+ | |||
+ | ETCDCTL_API=3 etcdctl snapshot save /etc/etcd-snapshot.db \ | ||
+ | [[--cacert]] [[/etc/kubernetes/]]pki/etcd/ca.crt \ | ||
+ | [[--cert]] /etc/kubernetes/pki/etcd/server.crt \ | ||
+ | [[--key]] /etc/kubernetes/pki/etcd/server.key | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{etcd}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 10:22, 3 December 2022
etcdctl snapshot save
ETCDCTL_API=3 etcdctl snapshot save /etc/etcd-snapshot.db
ETCDCTL_API=3 etcdctl --endpoints $ENDPOINT snapshot save /path/for/backup/snapshot.db
ETCDCTL_API=3 etcdctl snapshot save /etc/etcd-snapshot.db \ --cacert /etc/kubernetes/pki/etcd/ca.crt \ --cert /etc/kubernetes/pki/etcd/server.crt \ --key /etc/kubernetes/pki/etcd/server.key
See also[edit]
Advertising: