How do I specify what information is imported when performing an import from the command line interface?
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
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.
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:
Note: Before executing this command, configure import options through the Reporting interface.
OAREPT /IMPORTBATCH [/LINKDB:dbname] [/SERVER:AdminServer]
Specifies the batch file you want to use to import data.
Specifies the database file into which Reporting imports data. If you do not specify the
/LINKDBoption, Reporting creates the
OAREPT-AdminServer.mdbfile and imports the data into the new file. If you specify the
/LINKDBoption, the tool imports data into the database file specified by the
- You can specify either the full path or just the
.mdbfile name for the
dbnamevariable. If you specify just the
.mdbfile 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:
Specifies the Administration server from which you want to import data.