# Backup etcd database via /proc/PID/root

**URL:** <https://discuss.kubernetes.io/t/backup-etcd-database-via-proc-pid-root/18956>\
**Category:** General Discussions\
**Created:** [February 1, 2022, 8:25pm UTC](https://discuss.kubernetes.io/t/backup-etcd-database-via-proc-pid-root/18956 "2022-02-01T20:25:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ga2022](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@ga2022](https://discuss.kubernetes.io/u/ga2022)\
**Post date:** [February 3, 2022, 2:47am UTC](https://discuss.kubernetes.io/t/backup-etcd-database-via-proc-pid-root/18956/2 "2022-02-03T02:47:28Z")

</div>

Hey Thomas, I used the link below during my preparation. It’s also accessible during the exam. Practice it multiple times and you should be good to go.

> [@ETCD - backup and restore management](https://discuss.kubernetes.io/t/etcd-backup-and-restore-management/11019):
>
> i tried to backup etcd to local cluster, but it seems only endpoint didn’t work properly, only this command work for me ETCDCTL\_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt \ --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key \ snapshot save are those certs mandatory to backup the etcd db? while restoring, why these additional parameters need to be passed in, such as: ETCDCTL\_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt \ --name=master \ --cer…

---

_[View the full topic](https://discuss.kubernetes.io/t/backup-etcd-database-via-proc-pid-root/18956)._
