Automation Center Documentation

Importing/Exporting Data

From OpsWise Documentation Wiki

image:pdficon_small.gif Open as PDF


Contents

Overview

OpsWise Automation Center allows you to export and import records from and to XML files. You can import/export all records or specific groups of records, as described below.

Exporting/Importing All Records

Two methods are available for exporting/importing OpsWise records: Using maintenance scripts or the command line interface.

Exporting/Importing Records Using Maintenance Scripts

WARNING - Do not run any scripts aside from those described below:

From the navigation pane, select Configuration > Maintenance Scripts.

  • To export all records, locate opswise_bulk_export.js and click run. Click Yes to confirm.
  • To import all records, locate opswise_bulk_import.js and click run. Click Yes to confirm. The XML files must exist in the directory:
  • /home/prod/tomcat/webapps/opswise/WEB-INF/plugins/com.opswise/backup/unload/
    

Exporting/Importing Records Using the Command Line Interface

See Command Line Reference for instructions.

Exporting/Importing Specific Records

Two methods are available for exporting specific records:

  • You can select one or more specific records from a record list to export. For example, you can export all Windows tasks or all selected tasks.
  • You can use the command line interface to export one or more specific trigger records.

Exporting Specific Records From a List

  1. Select the type of record you want to export, such as Windows tasks.
  2. When the list displays, select which records you want to export by clicking the box to the left of its name.
  3. image:selecting records to export.jpg

  4. Right-click on the list's title bar to display the menu.
  5. Click Export. The Export menu displays.
  6. Select the format of the output file. If you want to import these records into another instance of OpsWise Automation Center, select XML. If you are exporting a workflow and all the tasks in the workflow (references), select XML (Export References).
  7. The system exports the selected records to the file and displays a message indicating the output file location. Hint - You may want to copy this information and use it later to import the records.
  8. image:ops export message.jpg

To import specific records:

  1. Display the list for the type of record you are importing, such as Windows tasks, or Triggers.
  2. Right-click on the list's title bar to display the menu.
  3. Click Import. The system prompts for the location of the XML file.
  4. image:ops import from.jpg

  5. Enter the full path and file name where the XML file(s) is located.
  6. image:ops import file name.jpg

  7. Click Import. The system imports records from all XML files it finds in the directory you specify.
  8. When the import is complete, the system displays a confirmation message.

Exporting Triggers Using the Command Line Interface

See Command Line Reference for instructions.

Personal tools