Does etcd backup restore files in a pod?

Hi,
I wonder if ETCD backup saves the files inside a pod. For instance, what will happen to deneme.txt file after an ETCD backup if I ran previously “kubectl exec -it my-elastic – touch deneme.txt”
Regards,
mmp

No! the file will be deleted. you should use PVC.

Huge thanks for your help, I appreciate it

With pleasure and happy learning!