Query Backup and Restore Tool (QryEdit.exe)

Use the Query Backup and Restore tool to back up and restore SMS queries. This tool will only back up user-defined queries, not SMS 2.0 default queries. When you restore queries, the queries you restore are added as new queries to the SMS Administrator console. You can also use this tool to export a query from one site and import it to another site.

Query Backup and Restore Runs On

Processors: i386, Alpha
Operating systems: Windows NT 4.0

Files Required for Query Backup and Restore

QryEdit.exe

Query Backup and Restore Syntax

qryedit [/export file | /import file]

/export file
Backs up the specified query file.
/import file
Restores the specified query file to the SMS Administrator console. The file will be added as a new query.

Using Query Backup and Restore

When restoring a query to a site or importing it to another site, be sure to use the exact query output from this tool. Do not strip any data. If you want to modify the query, first restore or import the query and then use the SMS Administrator console to modify the query.