Resolution
How do I specify what information is imported when performing an import from the command line interface?
fact
Directory and Resource Administrator 6.x
fact
Directory and Resource Administrator 7.x
fix
The command line interfacedoes not provide the ability to specify what information is imported; however, there is a workaround to this:
- Using multiple databases, you can open each database and specify the information you want to import into the database.
- Then, you can use the /LINKDB: parameter to import into the database.
note
Notes on Importing Data from the Command Line
To import data from the command line, you must be associated with the Reporting Administration role. Reporting provides the OAREPT
command for importing data into the reporting database. This command uses the import settings most recently specified on the Directory and Resource Reporting Import window. The OAREPT
command can be run from the following directory: Program Files\NetIQ\DRA\Reporting
.
Note: Before executing this command, configure import options through the Reporting interface.
Syntax Options:
OAREPT /IMPORTBATCH [/LINKDB:dbname] [/SERVER:AdminServer]
Options:
/IMPORTBATCH
Specifies the batch file you want to use to import data.
/LINKDB:dbname
Specifies the database file into which Reporting imports data. If you do not specify the
/LINKDB
option, Reporting creates theOAREPT-AdminServer.mdb
file and imports the data into the new file. If you specify the/LINKDB
option, the tool imports data into the database file specified by thedbname
variable.- You can specify either the full path or just the
.mdb
file name for thedbname
variable. If you specify just the.mdb
file name, Reporting looks for the specified file in the directory last specified on the Select Import Database window. To display this window, click Select Import Database on the File menu. By default, Reporting looks for the specified file in the following directory:Program Files\NetIQ\DRA\Reporting
.
/SERVER:AdminServer
Specifies the Administration server from which you want to import data.