CentraSite Documentation : CentraSite Administrator’s Guide : Importing/Exporting Registry Objects : Exporting and Importing Objects from the Command Line : Importing Objects from an Archive Using the Command Line
Importing Objects from an Archive Using the Command Line
The syntax of the import call is:
com.centrasite.importexport.ImportOperation [-setreplace] [-importorg <org_key>] [-keepowner] [-keeporganization] <CentraSite_URL> <archive_filename> <user> <password>
The input parameters are:
Parameter
Description
-setreplace
When an object is to be imported, the timestamp of the object in the import archive file is compared with the timestamp of the corresponding object with the same GUID in the registry, if the latter exists. If the timestamps are equal, the object is not imported. If the archive timestamp is older than the registry timestamp, the object is only imported if this optional parameter is present; otherwise, it is skipped.
-importorg <org_key>
By default, objects are imported into the current user's organization. Use this optional parameter if you want to specify a different organization into which the objects should be imported. The keyword is followed by the organization's GUID, prefixed by uddi:, for example: uddi:207ff1cc-25c5-544c-415c-5d98ea91060c. Note that this parameter has no effect if the -keeporganization parameter is set.
-keepowner
This option will maintain the original owner of the importing objects. This requires the original owner to exist with the same UUID on the target machine.
If this parameter is not set, the importing user will be owner of the objects.
-keeporganization
This option will maintain the original organization of the importing objects. This requires the original organization to exist with the same UUID on the target machine.
Note:  
If an organization is imported with its assets, this option is activated automatically.
<CentraSite_URL>
(Optional) The URL of the CentraSite registry. Default value is http://localhost:53307.
<archive_filename>
The name of the export archive file. The archive file can contain an organization with its assets or can contain a set of objects that were exported from one or more organizations.
<user>
The user ID of a registered CentraSite user. For example, a user who has the CentraSite Administrator role.
<password>
The password for the registered CentraSite user identified by the parameter -user.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback