List Storage policies - command line

Last post 08-21-2019, 9:34 PM by mheloy. 5 replies.
Sort Posts: Previous Next
  • List Storage policies - command line
    Posted: 01-17-2019, 11:37 AM


    Is there someone who knows how you can get the list of storage policies from either command line (qoperation) or SQL query?

  • Re: List Storage policies - command line
    Posted: 01-17-2019, 11:58 AM
    • efg is not online. Last active: 06-03-2020, 10:43 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Master
    • Points 1,729

    Sure...  use the "qlist" command:  "qlist sp" will yield a list of all storage policies configured.

    First log on with the qlogin command...

    Then run qlist.  There is also a -h option that provides usage for qlist.

    Ernst F. Graeler
    Senior Engineer III
  • Re: List Storage policies - command line
    Posted: 01-17-2019, 12:07 PM

    oh, I didn't know that command.


  • Re: List Storage policies - command line
    Posted: 08-15-2019, 10:57 PM

    Is there a way to list jobs from a storage policy?

    Need to manually delete thos jobs that was retaing because of Cycles

  • Re: List Storage policies - command line
    Posted: 08-20-2019, 5:18 AM

    Hi mheloy,

    Assuming you need that on the command line (as you can save a view of jobs for the storage policy copy in the GUI to an XLS file) then you can use one of the following commands.



  • Re: List Storage policies - command line
    Posted: 08-21-2019, 9:34 PM
    Thanks for this...

    I've raised a ticket with commvault support.
    Its returning 0 jobs though there are jobs in the SP Copy
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.
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy