Skip to content

Reasons to avoid PV/PVC as opposed to S3 as a storage location for the Rancher Backup Operator

This document (000021747) is provided subject to the disclaimer at the end of this document.

Environment

Rancher 2.x

Rancher Backup Operator

Situation

Choosing a Persistent Volume  over a S3 bucket as the storage location for the Rancher Backup Operator.

Resolution

Using the Rancher Backup Operator with a PVC is not very intuitive from a recovery point of view, as the PVs are tied to the Kubernetes cluster.

If that cluster is lost, a detached PV is left, that needs to be attached to another host to copy the Rancher Backup Operator snapshots out of, and then copy into a PV on a freshly created cluster.

If a S3 endpoint is not readily available, it would be easier to use the local Rancher clusters own RKE2 etcd snapshots, which can be copied off the nodes to a different location via a simple cronjob on the hosts themselves.

Additional Information

Backup Operator:

https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-restore-usage-guide

Cluster Snapshot backup:

https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher-launched-kubernetes-clusters

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.