Viewing Instant Clones for SQL Server Using the Command Line Interface

Use XML to view a list of SQL Server instant clones. You can run the operation from the command line, or automate configuration by combining operations in a script.

Use this command to list the SQL Server instant clones, which are:

  • In the CommCell.

  • Configured for a specific client.

  • Configured for a specific SQL Server database instance.

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 ViewInstantClones_Template.xml file to the computer where you will run the command.

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

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

    qoperation execute -af ViewInstantClones_Template.xml

    The results can contain recovery points and instant clones that are created by the SQL Server Agent. If the <initRequest></initRequest> element has no content, it represents an instant clone. If the <initRequest></initRequest> element has content, it represents a recovery point.

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

Page contents

×

Loading...