This message was deleted.
# general
a
This message was deleted.
a
Are you using the default backend or etcd?
Here's the procedure for the default backend https://docs.k3s.io/datastore/backup-restore
l
Hi @astonishing-mouse-9587, Instead of just backing up k3s cluster, I am also looking towards backing up Rancher, so I can quickly restore the configured Rancher UI.
a
Here's the procedure for backing up and restore rancher. It is not simple. I would suggest doing it a few times on a test installation of rancher first because it can take some time to get right. https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher
l
I was following this documentation but couldn't find "Rancher Backups" helm chart itself in the Charts section. I guess documentation needs an update.
a
It is not in the charts section. It is in the tools section
I'm no longer with Rancher/SUSE, but I wrote this course earlier this year which takes you through the entire process: https://www.suse.com/training/course/ran211v2.7
l
Thanks for sharing, I checked, this is an instructor led training, right? If handy, poease share any articles or blogs which can guide me through the backup process.
a
There's also online training but you have to buy a subscription
I really don't have anything since I left. I can just tell you that it was not easy and when I thought the class, we had to go very slow because there were a lot of steps.
l
Oh okay, sounds like a daunting process already, I will try and will seek your help if I am stuck in between. Thank you :)
a
Look here
You'll see this
This is why I say that you should do it a few times on a test install before trying it on a full instance.
Especially if you need to restore an entire installation for disaster recovery from scratch.
l
I checked, it's not present in the Cluster tools as well.
a
Those screenshots are from 2.7.0. Either you have a very old version or they have changed things again
l
I have installed v2.7.4. Any idea who I ask about this?
a
Go through every screen there until you find it. That's what I had to do. You may be missing something.
l
Tbh, I was doing that from yesterday, and then I jumped here on Slack.
a
I just installed the latest version of Rancher. It is definately in cluster tools. I can see it
l
Let me try updating it to the latest then. Can you confirm the latest version?
a
2.7.4
l
My version is also 2.7.4
a
Are you looking at the local cluster or a downstream cluster?
l
I have checked both
Did you run a docker container or installed it on k3s cluster?
a
k3s
l
It shows the Backup for Docker container for me, but not for k3s
Only shows, lstio, longhorn and neuvector for me
a
It sounds like you are looking at a downstream cluster and not the local cluster. I don't know what else to tell you. I literally just built this
Copy code
helm repo add jetstack <https://charts.jetstack.io>
helm repo add rancher-latest <https://releases.rancher.com/server-charts/latest>
helm repo update

kubectl apply -f <https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/cert-manager.crds.yaml>

helm install cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --create-namespace \
  --version v1.7.1
  
kubectl -n cert-manager get deployments

helm install rancher rancher-latest/rancher \
  --namespace cattle-system \
  --create-namespace \
  --set hostname=<http://node01.example.com|node01.example.com> \
  --set bootstrapPassword=rancher
l
I will try reinstalling it, I appreciate your support, thanks a lot @astonishing-mouse-9587
a
np
l
I might again reach out, thanks