Open Zebradil opened 3 years ago
I got it working by patching the code, preparing a PR currently.
I'm looking at this
Any update on this? Ran into the same issue and can restore backups only with @Zebradil fix.
It will go in later, with current code freeze it won't go in next release.
I have custom directories for etcd data and wal files.
rke etcd snapshot-restore
doesn't use this configuration and restores snapshot to a wrong directory.RKE version: v1.2.8
Docker version:
Operating system and kernel: Arch Linux, 5.12.4-arch1-2
Type/provider of hosts: Openstack
cluster.yml file:
Steps to Reproduce:
data-dir
andwal-dir
argumentsrke etcd snapshot-save
rke etcd snapshot-restore
Results:
The snapshot is restored into a directory, which is not mounted to the
etcd
containers, etcd uses the pre-restore data.