Closed InterFelix closed 3 years ago
Hi @InterFelix ,
etcd snapshots should be created at /opt/rke/etcd-snapshots
(only in etcd instances) according the docs
the recurring snapshot service is disabled in the config of etcd block snapshot: false
so I think you might only have snapshot backups if you created them by one time snapshots which is manually with rke.
I think you got my problem wrong here. I already have a snapshot file. However the restore is failing. Anyways, I have since moved on and rebuilt the cluster from scratch, so feel free to close this one.
I don't know if this is the same use case I had with restoring snapshot with same exception but
If you are using symbolic link to the snapshots folder (/opt/rke/etcd-snapshots
) it's may happen.
RKE version: v0.2.11 Docker version: (
docker version
,docker info
preferred) 19.03.6 Operating system and kernel: (cat /etc/os-release
,uname -r
preferred) Ubuntu 18.04 LTS, 4.15.0-112-generic Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Bare-Metal cluster.yml file:Steps to Reproduce: I don't even know at this point Results: rke etcd snapshot-restore fails with error message:
FATA[0012] failed to start backup server on all etcd nodes: [Failed to run backup server container, container logs: time="2020-07-26T13:27:21Z" level=fatal msg="stat /backup/snapshot-name: no such file or directory"
The backup file was renamed in the process. However, I renamed it back (and tried renaming the etcd db file inside of the zip with the same name as the backup zip), but to no avail.