Skip to main content
Version: v2.0-v2.4

Backing up Rancher Installed on a K3s Kubernetes Cluster

When Rancher is installed on a high-availability Kubernetes cluster, we recommend using an external database to store the cluster data.

The database administrator will need to back up the external database, or restore it from a snapshot or dump.

We recommend configuring the database to take recurring snapshots.

K3s Kubernetes Cluster Data

One main advantage of this K3s architecture is that it allows an external datastore to hold the cluster data, allowing the K3s server nodes to be treated as ephemeral.

Architecture of a K3s Kubernetes Cluster Running the Rancher Management Server

Architecture of an RKE Kubernetes Cluster Running the Rancher Management Server

Creating Snapshots and Restoring Databases from Snapshots

For details on taking database snapshots and restoring your database from them, refer to the official database documentation: