qcommand - Move Media from One Scratch Pool to Another

Last post 11-15-2017, 3:59 PM by Manoj Jadhav. 3 replies.
Sort Posts: Previous Next
  • qcommand - Move Media from One Scratch Pool to Another
    Posted: 11-14-2017, 8:28 AM

    Hi,

    Is there an any qcommand, script, workflow for move media from one scratch pool to another media pool.

    I have searched the documentation but i couldn' t find any automatization.

     

    Thanks.

  • Re: qcommand - Move Media from One Scratch Pool to Another
    Posted: 11-14-2017, 10:47 AM

    Would this help:

     

    qmedia export

    Description

    This command exports the specified media to a given location.

    In case of an error, an error code and description are displayed as: "export: Error errorcode: errordescription"

    Usage

    qmedia export -b <barcode(s)> -el <exportlocation> [-af <argsfile>] [-tf <tokenfile>] [-tk <token>] [-h]

    Options

    -b List of barcodes separated by a comma (,)
    -el Export Location name
    -iep I/E port range separated by a comma (,)

    For example:

    1002-1002,1003,1004

    -tf Reads token from a file
    -tk Token string
    -af Reads arguments from a file
    -h Displays help

    Argument File

    barcodes [string] List of barcodes, written one under the other.

    For example:

    M00001L3

    M00002L3

    M00003L3

    server CommServe host name
    exportlocation  Export location
    verifyoml Verify On Media Label (OML) for export
    ieports List of I/E ports where the media will be exported.

    For example:

    001003,001004 and so on.

    Diagnostics

    Possible exit status values are:

    0 - Successful completion.

    1 - CLI usage failures, due to the use of an unsupported option or missing argument.

    2 - Any other failure.

    Example

    Export multiple specified media with barcodes 100401WW and 100402WW to location Exp_Loc

    E:\commandline>qmedia export -b 100401WW,100402WW -el Exp_Loc

    Sample Argument file:

    [barcodes]
    M00001L3
    M00002L3
    M00003L3

    [ieports] 001003,001004

    [server]
    server1

    [exportlocation]
    <location>

    [verifyoml]
    1


    Jos Meijer
    Senior Technical Consultant
  • Re: qcommand - Move Media from One Scratch Pool to Another
    Posted: 11-14-2017, 12:48 PM
    • Ali is not online. Last active: 06-22-2019, 9:40 PM Ali
    • Top 10 Contributor
    • Joined on 08-05-2010

    Hi Omer, could you clarify your use case better as to why you are looking to perform the move.

    And this is for blank/scratch media correct?

  • Re: qcommand - Move Media from One Scratch Pool to Another
    Posted: 11-15-2017, 3:59 PM

    Hi,

    We have one Qscript to move media from one scratch pool to another. This is not a permanent script and created as a part of customer request. so, you cant find it in our commvault software or store.

    If you need it, please email me At mjadhav@commvault.com

    or Escalate as a TR.

     

    Thanks,

    Manoj jadhav

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 © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy