NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Configuring RBAC roles for VMware administrators
- Notes and prerequisites
- VMware vSphere privileges
- Managing VMware servers
- About VMware discovery
- Add VMware servers
- Change resource limits for VMware resource types
- Configuring backup policies for VMware
- Backup options on the VMware tab
- Exclude disks tab
- Configuring a VMware Intelligent Policy
- About the Reuse VM selection query results option
- Use Accelerator to back up virtual machines
- Configuring protection plans for VMware
- Malware scan
- Instant access
- Instant rollback
- Continuous data protection
- Backing up virtual machines
- VM recovery
- VMware agentless restore
- Restoring Individual files and folders from VMware backups
- Using NetBackup to back up Cloud Director environments
- Recover VMware Cloud Director virtual machines
- Restore virtual machines with Instant Recovery
- Protecting VMs using hardware snapshots and replication
- Best practices and more information
- Troubleshooting VMware operations
- NetBackup logging for VMware
- Snapshot error encountered (status code 156)
- Appendix A. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- Appendix B. Backups of VMware raw devices (RDM)
Limiting the VMware servers that NetBackup searches when browsing for virtual machines
As part of creating a NetBackup policy, you must specify which virtual machines to back up. One approach is to let NetBackup search the network and list all available virtual machines. However, if your VMware environment contains many VMware servers and virtual machines, it may take too long to search and list all of them. For example, consider an environment with ten vCenter servers. To back up the virtual machines on one of the ten vCenter servers, browsing virtual machines on all ten servers is unnecessary.
To speed up browsing, you can exclude particular VMware servers from the search. Then NetBackup queries only the VMware servers that are not named in the exclude list for the backup host.
Use one of the following procedures, depending on the platform of the backup host (Windows or Linux). As an alternative, NetBackup can automatically select virtual machines based on a range of criteria.
See About automatic virtual machine selection for NetBackup for VMware.
Use this procedure to limit the VMware servers that NetBackup discovers for each Windows backup host.
To limit the VMware servers that NetBackup discovers
- On the Windows desktop of the backup host, click Start > Run and enter regedit.
- Make a backup of the current registry (File > Export).
- Go to HKEY_LOCAL_MACHINE > SOFTWARE > Veritas > NetBackup > CurrentVersion > Config and create a key called BACKUP.
- Right-click in the right pane and click New > String Value. Enter excludeVMservers as the name.
- Right-click the excludeVMservers name and click Modify.
- In the Edit String dialog, enter a comma-delimited list of the VMware servers that are NOT to be queried when NetBackup browses the network. Do not enter spaces. You can enter vCenter servers and individual ESX servers.
Note: The exclude list is used on the next backup. If any bpfis processes are running, the exclude list has no effect on them.
The exclude list applies only to this backup host. The servers are not queried when you manually add virtual machines to the Clients tab.
Use this procedure to limit the VMware servers that NetBackup discovers for each Linux backup host.
To limit the VMware servers that NetBackup discovers
- On the Linux backup host, create (or open) the following file:
/usr/openv/netbackup/virtualization.conf
- Add the following to the file:
[BACKUP] "excludeVMservers"="server1,server2,server3"
Where server1,server2,server3 is a comma-delimited list of the VMware servers that are NOT to be queried when NetBackup browses the network. Do not enter spaces. You can enter vCenter servers and individual ESX servers.
Note: If the file already contains a [BACKUP] line, do not add another [BACKUP] line. Any other lines that already exist under [BACKUP] should remain as they are.
- Save the file.
Note: The exclude list is used on the next backup. If any bpfis processes are running, the exclude list has no effect on them.
The exclude list applies only to this backup host. The servers are not queried when you manually add virtual machines to the Clients tab.