Management and Security powered by Landesk

> Additional tools > Web console > Queries > Exporting and importing queries

Exporting and importing queries [Web console]

You can export and import any queries you create. All queries export as XML files.

The export and import features are useful in two scenarios:

  • If you need to reinstall your database, use the export/import features to save your existing queries for use in a new database.

    For example, you could export the queries and move them to a directory unaffected by a database reinstall. After reinstalling the database, you could move the queries back into the queries directory on your Web server, then import them into the new database.

  • You can use the export/import features to copy queries to other databases.

    For example, you could export a query to a queries directory on your Web server, then send it to another Ivanti administrator. That person could then place the queries into the queries directory on another Web server and import them into a different database.

To export a query

Complete these steps while connected to a database that has a query you want to export.

  1. In the Web console toolbox, click Reporting > Queries.
  2. On the Custom queries page, click the query name you want to export. Click the Edit button on the toolbar.
  3. On the Edit query page, click the Export toolbar button. The Query exported page is displayed.
  4. To view the XML document for the query, click the XML document link.
  5. To save the XML document, right-click the link and select Save target as. Specify a location to save the file.
To import a query

Complete these steps while connected to a database to which you want to import a query.

To import a query back into a database, the query must be in the queries directory recognized by the Web server. By default this directory is c:\inetpub\wwwroot\LANDesk\LDMS\queries.

  1. In the Web console toolbox, click Reporting > Queries.
  2. On the Custom queries page, click the New toolbar button.
  3. On the Edit query page, click the Import toolbar button.
  4. Select the query you want to import. If you want to verify the parameters of this query before importing it, click the View toolbar button.
  5. Click Import to import the query. If you want to import all the queries in the list, click Import all.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other