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:
Deletes all data in the SQL repositories affected by the source data file.
Imports the data into the repositories and checks it in as the initial version of repository data in the versioning system.
To run importRepository:
Copy the data file created by
exportRepository
to the ATG Content Administration server.Navigate to the
<ATG2007.3dir>
/home/bin
directory on the ATG Content Administration serverEnter 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.