Important Update: Cohesity Products Documentation


All Cohesity product documentation are now managed via the Cohesity Docs Portal: https://docs.cohesity.com/HomePage/Content/home.htm. Some documentation available here may not reflect the latest information or may no longer be accessible.

NetBackup™ for KVM Administrator's Guide

Last Published:
Product(s): NetBackup (11.1)
  1. Introduction
    1.  
      About NetBackup for KVM
  2. Installation and configuration overview
    1. Planning the installation for NetBackup for KVM
      1.  
        Verifying the operating system and platform compatibility
      2.  
        NetBackup server and client requirements
    2.  
      NetBackup configuration overview
  3. Managing KVM hosts
    1.  
      Add KVM hosts
    2. About KVM discovery
      1.  
        Change the autodiscovery frequency of KVM assets
      2.  
        Discover KVM host assets manually
    3.  
      Browse KVM assets
    4.  
      Validate a KVM host
    5.  
      Remove a KVM host
    6.  
      Change resource limits for KVM resource types
  4. Configuring RBAC roles for KVM administrators
    1.  
      RBAC roles for the KVM administrator
    2.  
      Assigning permissions at specific KVM object levels
  5. Protecting KVM virtual machines
    1. About configuring a backup policy for KVM
      1.  
        Limitations for KVM backups
    2.  
      About automatic virtual machine selection
    3.  
      Add a policy for KVM
    4.  
      About policy attributes
    5.  
      Schedule properties
    6.  
      Add KVM hosts to a policy
    7. Configure a query to select KVM virtual machines for backup
      1.  
        Query builder reference for KVM virtual machines
      2.  
        Use Advanced mode to create a query for virtual machine selection
      3.  
        Example queries to select VMs for backup
      4.  
        Test a VM query
      5.  
        About the Reuse VM selection query results option
    8. Backup options on the KVM attributes tab
      1.  
        Optimizations options (KVM)
      2.  
        Primary VM identifier options (KVM)
      3.  
        NetBackup character restrictions for the Primary VM identifier
      4.  
        Existing snapshot handling options (KVM)
      5.  
        KVM - Advanced attributes
    9.  
      View the protection status of KVM virtual machines
    10.  
      Perform a manual backup
  6. Recovering KVM virtual machines
    1.  
      Considerations and limitations for KVM recovery
    2.  
      About the pre-recovery check
    3.  
      Recover a KVM virtual machine
  7. Troubleshooting KVM backups and recovery
    1.  
      NetBackup logging for KVM
    2.  
      Configuring VxMS logging
    3.  
      Troubleshooting a KVM discovery or a validate operation

Configure a query to select KVM virtual machines for backup

NetBackup automatically selects KVM virtual machines for backup based on the query criteria that you enter. You specify the criteria (rules) in the Query builder in the policy Backup selections tab. You can set up rules to include certain virtual machines for backup, or to exclude virtual machines.

Note:

In the NetBackup web UI, you must use OData keywords and OData operators in query rules:

See Query builder reference for KVM virtual machines.

When the backup job runs, NetBackup creates a list of the virtual machines that currently meet the query rules and backs them up.

To configure the VMs in the backup selections list

  1. In the policy, select the Backup selections tab.
  2. To create a rule, make selections from the menus.

    For the first rule, you can start with the Field list, depending on the type of rule. (For the first rule, the only selections available for the field Join are blank (none), or NOT.)

    Then make a selection for Operator.

    For the Value field: Select the folder icon to browse for values, enter the value manually, or in some cases select a value from the list. The characters you enter manually in the Value field must be enclosed in single quotes. Note that browsing for values may take some time in large virtual environments.

    See Query builder reference for KVM virtual machines.

  3. Select Add to add the rule to the Query pane.
  4. Create more rules as needed.

    See Example queries to select VMs for backup.

  5. To see which virtual machines NetBackup currently selects based on your query, select Test query.

    The Virtual machines in your current environment that match the rules for selection in the policy are labeled Included. Note however that the Test query option does not create the backup list for the policy.

    See Test a VM query.

  6. To perform an immediate discovery to update the asset information, scroll to the bottom of the Test query modal and select Discover now.

    Note: NetBackup does not run discovery when the KVM policy runs. To reflect any new VMs in the policy, you must manually run discovery to discover those VMs.

  7. When you are finished reviewing the query results, select Close.
  8. You can specify how long NetBackup uses the latest query results as the backup list for future executions of the policy. Set the time period in Reuse VM selection query results for.

  9. To create queries manually instead of using the menus, click Advanced mode.

    See Use Advanced mode to create a query for virtual machine selection.