Open vipul0805 opened 2 days ago
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
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.
Statefulset
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
apisix version
uname -a
openresty -V
nginx -V
curl http://127.0.0.1:9090/v1/server_info
luarocks --version
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
apisix version
): 3.4.0-debianuname -a
): AL2openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
): 3.5.7-debian-11-r14luarocks --version
):