mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.7k stars 4.54k forks source link

Update etcd-backup-and-restore.md #204

Closed axelgMS closed 3 years ago

axelgMS commented 3 years ago

Answer doesn't say to change the --data-dir = /var/lib/etcd-from-backup in the etcd.yaml file. If we miss this, restore doesn't work well

M-Ayman commented 3 years ago

thanks for ur suggestion. We will add the following step Update --data-dir to use new target location

--data-dir=/var/lib/etcd-from-backup