Hi guy's, i'm trying to simulate different scenario for etcd backup and restore, . . .

Amel ECHEIKH EZAOUALI:
Hi guy’s, i’m trying to simulate different scenario for etcd backup and restore, but but i’m stuck here, i can’t copy the db etcd file from node01 to controlplane via SCP. Is the transfer file from node01 to controlplane is not authorized?

Amel ECHEIKH EZAOUALI:

Himadri Ganguly:
just do the following on controlplane
controlplane $ scp node01:/var/lib/etcd-restore/member/snap/db ./

Amel ECHEIKH EZAOUALI:
the file transfert from controlplane to node01 works for me but from node01 to controlplane not works

Amel ECHEIKH EZAOUALI:
i taken a backup and restore on node01 and i want to transfert db file from node01 to controle plan

Amel ECHEIKH EZAOUALI:

Zack:
Why would you need to switch between nodes? You can take backup from any place if the etcdctl and certs are present.

Amel ECHEIKH EZAOUALI:
so i have to copy etdcd yaml file to node01 and make required change and point kublet on it to run etcd pod on node01?

Amel ECHEIKH EZAOUALI:
as static pod

Amel ECHEIKH EZAOUALI:
aftre taken a restore i have to copy the db file under /var/lib/etcd?

Himadri Ganguly:
do the reverse
node01 $ scp /root/snapshot-pre-boot.db root@controlplane:/root/