Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vipul0805 opened this issue Nov 20, 2024 · 0 comments
Open

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

vipul0805 opened this issue Nov 20, 2024 · 0 comments
Labels
question label for questions asked by users

Comments

@vipul0805
Copy link

vipul0805 commented Nov 20, 2024

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 (run apisix version): 3.4.0-debian
  • Operating system (run uname -a): AL2
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.7-debian-11-r14
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@dosubot dosubot bot added the question label for questions asked by users label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant