How to select only system/boot volume content for VMware vCenter subclient or filter out all other volumes

Last post 01-31-2020, 9:15 AM by GeorgePerkins. 3 replies.
Sort Posts: Previous Next
  • How to select only system/boot volume content for VMware vCenter subclient or filter out all other volumes
    Posted: 01-30-2020, 12:30 PM

    Using VSA Transport Mode "HotAdd" to do snapshot backups of VMs. In my subclient policy I want to specify content to be backed up as only the boot/system partition/volume contents on Windows and Linux VMs. Another way to think of it is, a backup subclient that filters out all other volumes except the OS boot/system partition volume from the backup. How do I accomplish this?

    Worked with support because the documentation on filtering is not very clear. Came up with a solution which is below. However, I would love to hear from others if they have a better solution!

     

    Setting the properties of the new Subclient containing a VM Disk Filter 

     

     

     

     

     

    Location of XML: 

     

     

    Here is the text of the XML and command: 

     

    <?xml version='1.0' encoding='UTF-8'?> 

    <App_UpdateSubClientPropertiesRequest> 

      <association> 

         <entity> 

            <appName> Virtual Server </appName> 

            <clientName> AVCENTER.corp.ghc-hmo.com </clientName> 

            <backupsetNamedefaultBackupSet </backupsetName> 

            <subclientName> GHC CVWKT1R04T2R006 </subclientName> 

          </entity> 

      </association> 

          <subClientProperties>   

             <vmDiskFilterOperationType>ADD</vmDiskFilterOperationType> 

                <vmDiskFilter> 

                   <filters filter="IDE (0:1)" filterType="3" vmGuid="" /> 

                   <filters filter="IDE (1:0)" filterType="3" vmGuid="" /> 

                   <filters filter="IDE (1:1)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:1)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:2)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:3)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:4)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:5)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:6)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:7)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:8)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:9)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:10)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:11)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:12)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:13)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:14)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (0:15)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:0)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:1)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:2)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:3)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:4)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:5)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:6)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:7)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:8)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:9)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:10)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:11)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:12)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:13)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:14)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (1:15)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:0)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:1)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:2)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:3)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:4)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:5)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:6)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:7)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:8)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:9)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:10)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:11)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:12)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:13)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:14)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (2:15)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:0)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:1)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:2)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:3)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:4)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:5)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:6)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:7)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:8)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:9)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:10)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:11)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:12)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:13)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:14)" filterType="3" vmGuid="" /> 

                   <filters filter="NVME (3:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (0:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (1:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (2:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SATA (3:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (0:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (1:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (2:15)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:0)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:1)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:2)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:3)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:4)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:5)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:6)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:7)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:8)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:9)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:10)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:11)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:12)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:13)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:14)" filterType="3" vmGuid="" /> 

                   <filters filter="SCSI (3:15)" filterType="3" vmGuid="" /> 

               </vmDiskFilter>  

            </subClientProperties> 

    </App_UpdateSubClientPropertiesRequest> 

    qoperation execute -af D:\Installation\Store\update_disk_filters_template.xml -appName 'Virtual Server' -clientName 'AVCENTER.corp.ghc-hmo.com' -backupSetName 'defaultBackupSet' -subclientName 'GHC CVWKT1R04T2R006' -vmDiskFilterOperationType ADD 

    d:\Program Files\Commvault\ContentStore\Base>qlogin 

    Enter User Name: ghc\xx1234yy5678zz

    Password: 

    User logged in successfully. 

    d:\Program Files\Commvault\ContentStore\Base>qoperation execute -af D:\Installation\Store\update_disk_filters_template.xml -appName 'Virtual Server' -clientName 'AVCENTER.corp.ghc-hmo.com' -backupSetName 'defaultBackupSet' -subclientName 'GHC CVWKT1R04T2R006' -vmDiskFilterOperationType ADD 

    <App_UpdateSubClientPropertiesResponse> 

      <response> 

        <errorCode>0</errorCode> 

        <warningCode>0</warningCode> 

      </response> 

    </App_UpdateSubClientPropertiesResponse> 

    d:\Program Files\Commvault\ContentStore\Base> 

     

     

    Open properties of Subclient to confirm VM Disk Filters update actually worked: 

     

     

    Continue to customize Subclient configuration: 

     

     

     

     

     

     

     

     

     

     

     

     


  • Re: How to select only system/boot volume content for VMware vCenter subclient or filter out all other volumes
    Posted: 01-30-2020, 7:06 PM

    I did not use XML to populate the neccesary info, here is how I did it manualy.

    Open commcell -> client computers -> your vcsa name -> virutal server -> VMware -> defaultbackupSet -> create a sublient -> on content add VMs -> On Filters, VM disk filters (this is optout filter), check "Use Backup Set VM Disk filters" -> click Add on "VM disk filters" -> select "Virtual Device Node", select a Device (such as "SCSI (0:1)") you want to exclude and click OK.

    Keep adding more device( SCSI disks) you want to execlude.

    Once done. click OK.

    You are all set.

  • Re: How to select only system/boot volume content for VMware vCenter subclient or filter out all other volumes
    Posted: 01-30-2020, 7:06 PM

    I did not use XML to populate the neccesary info, here is how I did it manualy.

    Open commcell -> client computers -> your vcsa name -> virutal server -> VMware -> defaultbackupSet -> create a sublient -> on content add VMs -> On Filters, VM disk filters (this is optout filter), check "Use Backup Set VM Disk filters" -> click Add on "VM disk filters" -> select "Virtual Device Node", select a Device (such as "SCSI (0:1)") you want to exclude and click OK.

    Keep adding more device( SCSI disks) you want to exclude.

    Once done. click OK.

    You are all set.

  • Re: How to select only system/boot volume content for VMware vCenter subclient or filter out all other volumes
    Posted: 01-31-2020, 9:15 AM

    The point of my question is really: Is there a better way to select the OS boot/system partition/volume ONLY for backup (i.e., exclude ALL other non-boot/system partitions/volumes from the backup)?

     

    P.S. Thanks Moonlight, I also am aware of the GUI method; but you can't include SATA or NVME drives in the GUI. I put in an enhancement/bug request to CommVault for future inclusion of those I/O controller types in the next service pack.

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy