Command "etcdctl3 snapshot save" fails if the destination file is not under /var/lib/etcd
Issue
# mkdir -p /backup/etcd-$(date +%Y%m%d)
# etcdctl3 snapshot save /backup/etcd-$(date +%Y%m%d)/db
Error: could not open /backup/etcd-20190410/db.part (open /backup/etcd-20190410/db.part: no such file or directory)
Environment
- OpenShift Container Platform 3.11
- etcd 3.2.22
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.