AuxCopy Script

Last post 09-22-2015, 6:05 PM by Ali. 6 replies.
Sort Posts: Previous Next
  • AuxCopy Script
    Posted: 04-22-2015, 9:39 PM

    I’m looking for an aux copy expert. I’m assuming that qoperation auxcopy is the command I would need.

    I want to write a script that will kick off an aux copy after the data protection backup runs. The script would run as a post process. The requirements of the script are as follows.

    Monday through Thursday run with a time limit of 0800 local media server time and then suspend.

    At a specified time of day at the media server time zone resume the suspended aux copy job.

     

    Friday, Saturday, and Sunday run until Monday at 08:00 local media server time and suspend.

    At a specified time of day at the media server time zone resume the suspended aux copy job.


    @thefunfactory.com
  • Re: AuxCopy Script
    Posted: 04-26-2015, 7:07 AM
    • IKP is not online. Last active: 23 Sep 2016, 8:14 AM IKP
    • Not Ranked
    • Joined on 04-18-2015
    • West of London
    • Newcomer
    • Points 18

     

    Hi,

     

     

    Have you considered specifying Operational Windows for the Aux Copy?

     

    http://documentation.commvault.com/commvault/v10/article?p=features/operation_window/operation_window.htm

     

     

    HtH.

     

    IKP

  • Re: AuxCopy Script
    Posted: 04-27-2015, 8:30 AM

    One of our on-site engineers is experimenting with the Operational Window now. Question regarging that. Does the Operational Window take into account the time zone of the local Media Server?Thanks for that link. So getting back to the script... 


    @thefunfactory.com
  • Re: AuxCopy Script
    Posted: 04-28-2015, 12:18 PM
    • Aplynx is not online. Last active: 08-22-2019, 5:53 PM Liam
    • Top 10 Contributor
    • Joined on 05-04-2010
    • New Jersey
    • Master
    • Points 1,699

    Would automatic copy work in conjunction with the operation window? 

    "You can create the automatic schedule if you want to perform the auxiliary copy operation at specific frequency (For example: after every 2 hours). This ensures that you will have regular additional copies of data."

    http://documentation.commvault.com/commvault/v10/article?p=features/auxiliary_copy/aux_copy_adv.htm#Automatic_Schedule

     

    You can have the aux check for data to be copied at regular intervals and if available it will launch. Then the op window holds the job off until the needed time. 

     

  • Re: AuxCopy Script
    Posted: 04-28-2015, 1:48 PM

    I don't know what you mean about automatic copy. My goal is to get Aux Copy to run directly after a Data Protection Backup as a dependency and end at a specific time at the media server’s time zone. Creating schedules to run a periodic aux copy doesn't seem to fit our scenario because if there’s no Data Protection Backup run first the aux copy is just a waste of time.


    @thefunfactory.com
  • Re: AuxCopy Script
    Posted: 09-18-2015, 3:25 PM
    • isle is not online. Last active: 06-04-2019, 3:28 PM isle
    • Top 25 Contributor
    • Joined on 08-21-2012
    • NJ
    • Adept
    • Points 308

    Start auxcopy: E:\commandline>qoperation auxcopy -sp policy1 -spc copy2

    http://documentation.commvault.com/commvault/v10/article?p=products/media_agent/cli_config.htm#qoperation_auxcopy

     

    log the job id and suspend it a qoperation job management

    http://documentation.commvault.com/commvault/v10/article?p=products/commserve/cli_config.htm#jobcontrol

    qoperation jobcontrol -o suspend -j(AUXCOPYJOBID)

  • Re: AuxCopy Script
    Posted: 09-22-2015, 6:05 PM
    • Ali is not online. Last active: 07-03-2019, 12:32 PM Ali
    • Top 10 Contributor
    • Joined on 08-05-2010

    Suggest to try out Workflows too, allows for more flexibility in case the requirements change and become more intricate.

    http://documentation.commvault.com/commvault/v10/article?p=features/workflow/workflow_overview.htm

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