You can back up contents of PersistentVolumeClaims (PVC) directly to the Backup Gateway, without transmitting via the API server. To backup PVCs directly to the storage, the software uses the Commvault Cloud backup pod (cv pod) thereby improving backup performance especially with large volumes.
Important
-
After you enable this feature, the first backup job is marked as Incremental, but the Commvault Cloud software will backup all the files.
-
You must connect with the SRE team to disable client-side deduplication and compression to reduce CPU impact on the cluster.
Benefits
-
Improved performance: Data transfer bypasses the Kubernetes API server, reducing overhead and improving speed.
-
Cloud-optimized: Backup data is sent directly to cloud storage from the backup pod running in the Kubernetes cluster.
-
Efficient data handling: Deduplication, encryption and compression occurs on the backup pod before transferring data to the Backup Gateway.
Before You Begin
Ensure that the cv pods can connect to the CommServe server, backup gateway, and Backup Gateway either directly or via network topologies configured for the Kubernetes client. If direct network connection cannot be established, then network gateway using a network topology must be configured.
Connect with the SRE team to do the following:
-
Configure the following:
-
A server group for the Kubernetes cluster pseudo client.
-
A server group for the network gateway clients which can be reached from the Kubernetes cluster and can connect to the CommServe server, backup gateway, and Backup Gateway.
-
A server group for the infrastructure clients that will initiate connections to the network gateway group.
For more information on how to create a server group and manually add servers to the group, see Server Groups.
-
-
Configure a network gateway topology.
Enabling Backups Without Using the API Server
To enable backups of PVCs directly to the storage, you can configure the Network Optimized Backups setting on the cluster or application group.
Steps to enable Network Optimized Backups on cluster
-
From the navigation pane, go to Protect > Kubernetes.
The Overview page appears.
-
On the Clusters tab, click the cluster.
The cluster page appears.
-
On the Configuration tab, in the Settings section, click Add.
The Add setting dialog box appears.
-
Click Lookup.
The Lookup settings dialog box appears.
-
Select the check box next to Network Optimized Backups, and then click Select.
-
Move the Value toggle to the right.
-
In the Comment box, enter an explanation for the change.
-
Verify that the Enable check box is selected.
-
Click Save.
Steps to enable Network Optimized Backups on application group
-
From the navigation pane, go to Protect > Kubernetes.
The Overview page appears.
-
On the Application groups tab, click the application group.
The application group properties page appears.
-
On the Configuration tab, in the Settings section, click Add.
The Add setting dialog box appears.
-
Click Lookup.
The Lookup settings dialog box appears.
-
Select the check box next to Network Optimized Backups, and then click Select.
-
Move the Value toggle to the right.
-
In the Comment box, enter an explanation for the change.
-
Verify that the Enable check box is selected.
-
Click Save.