Difference between revisions of "Etcdctl snapshot save"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  ETCDCTL_API=3 [[etcdctl --endpoints]] $ENDPOINT snapshot save /path/for/backup/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
  
  

Revision as of 10:21, 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

Advertising: