Imports portal data. The import subcommand requires an archive file (PAR file) in the local system.
psadmin import --adminuser uid --passwordfile password-filename [--files-only] --portal portal-name [--continue] [--dp-only] [--overwrite] [--dpnode dpnode] [--redeploy] [--operations operations-list] [--debug] par-filename
psadmin import -u uid -f password-filename [--files-only] -p portal-name [-c] [--overwrite] [--dp-only] [--dpnode dpnode] [-D] [-O operations-list] par-filename
The following options are required:
Specifies the administrator's distinguished name (dn) or user ID (uid).
Specifies the administrator's password in the password file.
Specifies the portal name.
The following argument is required:
Specifies the name of the PAR file, which is located in the local host.
The following options are optional:
Specifies to desktop file system data only. Default is off.
Specifies that the import process should continue if errors indicate that the storage structure of the archive file and the current system differ. Default is false.
This flag is used for debugging purpose only, set this flag to true to see exceptions that caused the error. Default is off.
Specifies to import display profile data only. Default is off.
Specifies whether to overwrite the display profile document and file system files, if data already exists. Default is false.
If true, the data profile document is stored in the LDAP tree, replacing the original version, and file system data are overwritten. If false, the data profile document is combined with the data profile in the LDAP tree. File system data are not overwritten, if the same named file exists.
Specifies the base dn for the display profiles and service attributes to be imported. If the base dn is not specified, the display profile node defined inside the PAR file is used. If the PAR file does not provide a definition, the portal's default organization dn is used.
Specifies whether to redeploy the Portal Server instances. By default, this is set to false.
Use of this flag will cause the web container to redeploy all web applications that were deployed for the Portal. It is recommended that this operation is done during off hours or during non-production time.
Specifies a space separated list of operations where each operation constitutes of | (pipe) separated list of keywords that can have values most of which are optional. This option is applicable only when the imported PAR file is of type provider. The operations list is in the following format:
"dpnode=dn|entry=name|provider[=name]|channel[=name]| container=name[|avail=name|selected]" "dpnode=dn|entry=name|provider[=name]|channel[=name]| container=name[|avail=name|selected]"
If this option is not specified, the operations as specified in PS-AutoExtract entry in PAR file is used for import. For more information on the operations format, see Chapter 21, Import Operations Format for more information.
psadmin import -u amadmin --passwordfile /tmp/passwd dp_org.par
psadmin import -u amadmin --passwordfile /tmp/passwd --dpnode "ou=DeveloperSample,dc=someplace,dc=siroe,dc=com" -O ' "entry=mychannel|channel=anothername|avail=topcontainer" "entry=yourchannel|channel=anothername|avail=topcontainer" ' dp_providers.par