apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.54k stars 2.52k forks source link

help request: Error while restoring backup to etcd cluster. #11763

Open vipul0805 opened 2 days ago

vipul0805 commented 2 days ago

Description

I faced this issue #11338 and took a backup in the host machine. But now I am getting an error while restoring the backup.

Command: etcdutl snapshot restore ./backup/snapshot.db --data-dir /bitnami/etcd/data

Error: 2024-11-20T18:12:26+05:30 info snapshot/v3_snapshot.go:265 restoring snapshot {"path": "./backup/snapshot.db", "wal-dir": "/bitnami/etcd/data/member/wal", "data-dir": "/bitnami/etcd/data", "snap-dir": "/bitnami/etcd/data/member/snap", "initial-memory-map-size": 10737418240}

Error: mkdir /bitnami: read-only file system

I installed apisix in EKS using the helmchart and cannot find the etcd Statefulset manifest to make the volume writable.

There are no instructions on the APISIX documentation on how to restore backups.

Currently stuck with this, let me know if anyone has faced this and has any fix for this. Thanks

Environment