Sharing: How to modify Auxiliary Copy Schedule Policies

Last post 02-02-2017, 10:53 AM by PJValdez. 0 replies.
Sort Posts: Previous Next
  • Sharing: How to modify Auxiliary Copy Schedule Policies
    Posted: 02-02-2017, 10:53 AM

    So currently, there is no XML to update a schedule policy for Aux Copies.  if you look in books online, all of the schedule policy docs are primarily for "Data Protection" XMLs.

    In order to Update a Schedule Policy for "Aux Copy" type, you'll need to use Rest APIs with a PUT method.  So Really what your doing, is rewriting the entire Schedule Policy with your Update.  

    So for this to work,

    1)you first need to run a GET call to maintain the Current schedule policy,

    2)then use a script type (in my case I used Javascript) to recreate the schedule policy WITH your update,

    3)Finally make another rest call with the PUT method and the new Schedule policy you created.

    In our case, we've been deploying multiple sites globally, new Datacenters built from the ground up.  SO I needed an automatic way to Create the Sitess, from the primary backup all the way to scheduling the Aux Copy.  So far, works like a charm, but a tad bit of a headache tweaking the codes and learning the http client utils.

     

    All this could be easily sovled if CV devs created an XML for APP_updateAUXCopySchedulePolicy, but they're a little bit busy right now.  

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