Note: You cannot export data from a VersionRepository. Consequently, before importing any data into your versioned repositories, configure the ATG Content Administration server with the database instance to be used when development is complete. For more information, see Install an ATG Content Administration Server Instance earlier in this chapter.

The importRepository script imports the contents of the data file created by exportRepository into the versioned repositories on the ATG Content Administration server. By default, the importRepository script performs these tasks:

  1. Deletes all data in the SQL repositories affected by the source data file.

  2. Imports the data into the repositories and checks it in as the initial version of repository data in the versioning system.

To run importRepository:

  1. Copy the data file created by exportRepository to the ATG Content Administration server.

  2. Navigate to the <ATG2007.3dir>/home/bin directory on the ATG Content Administration server

  3. Enter the importRepository command.

For example:

importRepository –m CatalogVer
                 –file /users/joe/CatalogExport.jar
                 –workspace initialcheckin

For detailed information about importRepository command-line arguments, see this guide’s Tools chapter.

 
loading table of contents...