NetBackup™ Web UI Kubernetes Administrator's Guide
- Overview of NetBackup for Kubernetes
- Deploying and configuring the NetBackup Kubernetes operator
- Prerequisites for NetBackup Kubernetes Operator deployment
- Deploy service package on NetBackup Kubernetes operator
- Port requirements for Kubernetes operator deployment
- Upgrade the NetBackup Kubernetes operator
- Delete the NetBackup Kubernetes operator
- Configure NetBackup Kubernetes data mover
- Automated configuration of NetBackup protection for Kubernetes
- Configure settings for NetBackup snapshot operation
- Troubleshooting NetBackup servers with short names
- Data mover pod schedule mechanism support
- Validating accelerator storage class
- Deploying certificates on NetBackup Kubernetes operator
- Managing Kubernetes assets
- Managing Kubernetes intelligent groups
- Protecting Kubernetes assets
- Managing image groups
- Protecting Rancher managed clusters in NetBackup
- Recovering Kubernetes assets
- About incremental backup and restore
- Enabling accelerator based backup
- Enabling FIPS mode in Kubernetes
- Troubleshooting Kubernetes issues
- Error during the primary server upgrade: NBCheck fails
- Error during an old image restore: Operation fails
- Error during persistent volume recovery API
- Error during restore: Final job status shows partial failure
- Error during restore on the same namespace
- Datamover pods exceed the Kubernetes resource limit
- Error during restore: Job fails on the highly loaded cluster
- Custom Kubernetes role created for specific clusters cannot view the jobs
- Openshift creates blank non-selected PVCs while restoring applications installed from OperatorHub
- NetBackup Kubernetes operator become unresponsive if PID limit exceeds on the Kubernetes node
- Failure during edit cluster in NetBackup Kubernetes 10.1
- Restore from snapshot fails for large sized PVC
- Restore of namespace file mode PVCs to different file system partially fails
- Restore from backup copy fails with image inconsistency error
- Connectivity checks between NetBackup primary, media, and Kubernetes servers.
- Error during accelerator backup when there is no space available for track log
- Error during accelerator backup due to track log PVC creation failure
- Error during accelerator backup due to invalid accelerator storage class
- Error occurred during track log pod start
- Failed to setup the data mover instance for track log PVC operation
- Error to read track log storage class from configmap
About NetBackup accelerator support for Kubernetes workloads
NetBackup Accelerator reduces the backup time for Kubernetes cluster backups.
For Kubernetes backups, the accelerator feature is activated when you select a accelerator supported storage type, like MSDP, OpenStorage, CloudStorage, and MSDP-C (Azure and AWS) and Kubernetes cluster supports accelerator enabled backups.
Note:
Accelerator enabled backup is supported only for the file mode PVCs.
NetBackup Kubernetes Operator values.yaml have an entry acceleratorTracklogPvcStorageClass: None
To enable accelerator, specify a valid storage class name to generate the track logs in case of accelerator backups. Storage class helps to create a file mode volume which is usable on any of the worker nodes within Kubernetes cluster.
Note:
If the acceleratorTracklogPvcStorageClass is set to None and an accelerator enabled storage is selected, then the accelerator backup jobs do not run. After upgrade to NetBackup 10.4 release, the default value of acceleratorTracklogPvcStorageClass is None.
For more details, refer to the Validating accelerator storage classsection in the NetBackup™ Web UI Kubernetes Administrator's Guide.
The default value for number of Backup from Snapshot jobs per Kubernetes cluster is 4.
If 4 Backup from Snapshot jobs with accelerator runs to back up 4 PVCs simultaneously, it will consume some storage.
As per this calculation, each PVC requires some space for track log creation. Track log size in Bytes = 2*( (Number of files in PVC * 200) + ((Total used disk space in PVC KiB/128KiB) * 20))
Storage required to run 4 Backup from Snapshot jobs simultaneously = Sum of track log size of 4 PVCs.
Therefore, the storage requirement changes if number of Backup from Snapshot jobs per Kubernetes cluster is changed.
Ensure that a sufficient storage is available before running the backups jobs. To avoid storage issues, elastic storage can be used.
NetBackup accelerator creates the backup stream as follows:
If the namespace have no previous backup, NetBackup performs a full backup.
For the next backup job, NetBackup identifies data that is changed since the previous backup and only the changed blocks and the header information is included in the backup, to create a full backup.
Once the backup is done, bpbkar on the data mover updates the track log. Track log path inside data mover - usr/openv/netbackup/track/<primary server>/<storage server>/<k8s cluster name>_<namespace uuid>_<pvc uuid>/<policy>/<backup selection>
This track log is then transferred to primary server in the inline style at the following location:
/usr/openv/netbackup/db/track/<primary server>/<storage server>/<k8s cluster name>_<namespace uuid>_<pvc uuid>/<policy>/<backup selection>
When the next accelerator backup job is initiated, the track log is fetched from the primary server to identify the changed files, and then it is updated with the new content and transferred back to the primary server.