The following arguments are commonly used:

Import arguments

Description

startupmodules

Lists the modules to start for the import process. Specify the modules that contain the versioned repositories targeted for the imported data. Separate multiple modules with a semi-colon (;) on Windows and a colon (:) on UNIX.

This argument must precede all others, including file.

servername

The ATG instance on which to run this script. Use this argument when you have multiple servers running on your machine.

This argument must precede all others except m.

batchSize size

The number of items to commit in a transactional batch. The larger the specified number, the faster the import. However, a large number requires more memory and a larger transaction log in the database. The default is 1000.

Specify -1 to import all items in a single batch.

This argument cannot be used with –deploy.

-nocheckin

Specifies to import data to repositories but not check the data in.

Typically this argument is unnecessary, supplied only if you import the initial data into a given workspace via multiple invocations of this utility, and you want to check in all workspace data at the same time (via importRepository workspace name).

noDeleteAll

Specifies not to delete the data in the SQL repositories that are affected by the specified data file, before the import operation. The default is to delete all items in SQLRepositories first. By using the noDeleteAll argument, you can import multiple data files with separate invocations of this utility.

Typically, this argument is unnecessary because each VersionRepository is usually empty before the initial data is imported. Use this argument only if you import all data over a series of importRepository invocations.

temp directoryname

The temporary directory to use in order to expand the data file during the import process.

Typically, this argument is not needed. By default, an appropriate OS-specific temporary directory is used. The default directory is the one used by java.io.File.createTempFile(String, null, null), which should be appropriate for most systems.

 
loading table of contents...