NetBackup™ for 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
- Managing Kubernetes policies
- 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
- About Openshift Virtualization support
- 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
- Backup or restore 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
Configure backups
NetBackup allows you to run two types of backup jobs in Kubernetes workload: Snapshots only and Backup from Snapshot. Follow the steps to configure a backup job for Kubernetes operator.
To perform backup on Kubernetes workload
- On the left, click Protection > Protection plans and then click Add.
- In Basic properties, enter a Name, Description, and select Kubernetes, from the Workload drop-down list.
- Click Next. In Schedules, click Add schedule.
In the Add backup schedule tab, you can configure the options for retaining the backup and the snapshot.
- From the Recurrence drop-down, specify the frequency of the backup.
- In the Snapshot and backup copy options, do any of the following:
Select Create backup from snapshot option, to configure backup from snapshot for the protection plan. Specify retention period for the backup from snapshot using the Keep backup for drop-down.
Note:
Only full backup schedules are supported on the Kubernetes workloads. You can set the backup duration in hours, days, weeks, months, and years. By default, four weeks is the backup retention duration.
Note:
You must select the Create backup from snapshot option to enable the replicate and duplicate options for backup copy.
If you do not select Create backup from snapshot option, then by default, Snapshot only storage backup is configured to run the backup jobs.
SelectCreate a replica copy (Auto Image Replication) of the backup from snapshot option to create a replica copy of the backup.
Select Create a duplicate copy of the backup from snapshot option to create a duplicate copy of the backup.
- Continue creating the schedule in the Start window tab, as described in the Managing protection plans section of the NetBackup Web UI Administrator's Guide
- Continue to configure the Storage options for backup from snapshot, as described in the Managing protection plans section of the NetBackup Web UI Administrator's Guide
While selecting a storage for Backup from Snapshot option, the selected storage unit must have the media servers of NetBackup version 10.0 or later.
Media server managing the storage must have access to the selected Kubernetes clusters.
Media server must be able to connect with the API server. The port corresponding to the API server must be open for the outbound connection from the media server. The datamover pod must be able to connect to the media server.