Command-line options for the Import tool

Using the command-line options allows you to run the Import tool in non-interactive mode. For example, you can import some data into the database automatically by creating a Windows Scheduled Task.

The executable file ImportWizard.exe is located in the /Bin sub-folder of your Alloy Navigator installation folder.

TIP: Before using the Import tool in non-interactive mode, start it in interactive mode and create an import configuration file that will be used in non-interactive mode. For details, see Import.

The following table lists the command-line options that are available for the Import tool:

Option Description

/? or /help

Displays the full list of command-line options in a separate window.

/AccessKey="Key_Name" The name of the Database Access Key for the Alloy Navigator database to import the data into.

/Server="SQL_Server_Name"

The name or network address of the SQL Server instance which hosts the Alloy Navigator database you want to connect.

Specify only if the SQL Server name differs from the SQL Server name in the Database Access Key.

/Database="DB_Name"

The Alloy Navigator database to import the data into.

Specify only if the database name differs from the database name in the Database Access Key.

/Profile="File_Name"

The full path to and the name of the configuration file containing the import settings.

/Log_File="File_Name"

The full path to and the name of the log file.

If specified, errors are logged in this file. If the file already exists, new error messages will be added to the end, otherwise a new file will be created.

All the options are case-insensitive.

For example, the following command imports data to the database using the Database Access Key SERVER_001 : DB_001 and the import configuration saved to the file import_configuration.ipf. If any errors occur during this operation, the error messages will be recorded to the file import.log.

ImportWizard.exe /AccessKey="SERVER_001 : DB_001" /Profile="C:\ProgramData\Alloy Software\Alloy Navigator\8.7\Profiles\import_configuration.ipf" /Log_File="C:\ProgramData\Alloy Software\Alloy Navigator\8.7\Logs\import.log"