Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Preserve the most recent etcd backup file #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/troubleshooting/bootkube_recovery_tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Before recovering a cluster, remove the docker state, etcd state, and active man

1. Back up the associated data.

`$ sudo cp $(sudo find /var/etcd/ -iname db) /root/backup.db`
`$ sudo cp $(sudo find /var/etcd/ -iname db -exec ls -1t {} + | head -n1) /root/backup.db`

2. Remove the data from the etcd directory:

Expand Down