KOP Backup - Backup Policy - Rafay Product Documentation

Backup Policy

Administrators can create a backup policy to specify how, when and what needs to be backed up. The policy will define the location to keep the backup data, retention period, whether persistent volumes should be backed up and the scope of cluster objects to backup.


Create Backup Policy

Follow the steps described below to create a backup policy for your clusters:

Note

You can "backup" the control plane and the PVs to different locations.


Control Plane and PVs

Here is an example of a configuration which will backup both "cluster control plane data" and "persistent volumes" with a 10-day retention period. Note that the "control plane" and the "PVs (volumes)" are backed up to different locations.


Control Plane Only

Here is an example of a configuration which will backup ONLY the "cluster control plane data" with a 10-day retention period. Persistent volumes will not be backed up.


Advanced Options

You can optionally use "target selectors" to refine the scope of the backup policy. You have three options

Here is an illustrative example where the administrator wants to backup ALL cluster data except "kube-system", "rafay-infra" and "rafay-system" namespaces.