Kubernets backup of cluster

How I can take backup of the whole cluster and restore it using minikube.?

kube-backup will fetch and store all your resources in git, such that you can apply them to another cluster easily, whereas Velero (formerly Heptio Ark) will make a more comprehensive backup of everything in the cluster, at the expense that restoring to a different cluster may be more difficult (and also does not support anything for persistent volumes). Here’s the guide for using Velero to migrate clusters.