https://rancher.com/ logo
Title
g

gorgeous-alarm-2311

05/11/2023, 9:01 AM
I'm trying to recover a broken cluster. I have the cluster's etcd
db
file and some
.snap
files. In the new (replacement cluster) I guess I now need to run the documented
rke etcd snapshot-restore
command? I cannot access the original cluster (it's really broken) but I do have what I think are some key files. So I guess I put a file from the broken cluster onto S3 where the new cluster can find it? I compress the file and this helps (i.e. it appears the file can be found) but I get the error
File [/backup/prior.db] not found in file [/backup/prior.db.zip]
. What's wrong - can I use the original db file? What do I need to put on the S3 bucket?
Ah, so it looks like, in the zip a
prior.db
directory and
backup
directory and a
prior.db
file in the backup directory?
image.png
Still no success (basically the same error). Can someone explain how (whether) I can use an original db in an
rke etcd snapshot-restore
or whether I can use the .snap files?