Extending Instant Clones for SQL Server Using the Command Line Interface

Updated

Use XML to extend the expiration date of the SQL Server instant clones. Run the operation from the command line, or automate configuration by combining command line operations in a script.

You can include the XML parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.

Procedure

  1. On the SQL Server agent host, run the qlogin command to log on to the CommServe computer.

  2. Download the ExtendClone_Template.xml file to the computer where you will run the command.

  3. Open the ExtendClone_Template.xml file, add your specific parameters, and then save the file.

  4. On the command line, go to Software_Installation_Directory/Base, and then run following the command.

    qoperation execute -af ExtendClone_Template.xml -jobId '<JobId>' -expiryTimeStamp '<Extend the time period in Unix time stamp>'

  5. Run the qlogout command to log off the CommServe computer.

Was this page helpful?