https://rancher.com/ logo
#rke2
Title
m

modern-dress-80156

07/08/2022, 11:14 AM
HI, Is there a way I can figure out the order in which RKE2 restores the objects from snapshot. Context is we want to move from rke2 based backup and restore to Velero and we were having some issues with the default order in which velero restores the resources and we can override the same via a parameter velero has exposed
Copy code
rke2 server \
  --cluster-reset \
  --cluster-reset-restore-path=<PATH-TO-SNAPSHOT>
@creamy-pencil-82913 anything you could help here ?
c

creamy-pencil-82913

07/08/2022, 3:41 PM
RKE2 uses etcd snapshot functionality. It does not back up things at an individual resource level. Restore is an offline operation where etcd is stopped, the entire database restored to a point-in-tine snapshot, then started again.
So there's no 'order' to the restore. The entire database is replaced while the system is offline.
m

modern-dress-80156

07/11/2022, 7:47 AM
got it, thanks for the detailed explanation
5 Views