Sun Java System Portal Server 7.2 Command-Line Reference

Example


Example 4–8 psadmin import

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

psadmin import -u admin-user -f password -p portal1 --files-only --overwrite -c files.par

In the above example, the command imports only the file system data from the files.par file.

psadmin import -u admin-user -f password -p portal1 --dp-only --overwrite -c dp.par

In the above example, the command imports the display profile to the organizations.

psadmin import -u admin-user -f password -p portal1 --overwrite -c -D all.par

In the above example, the command imports both dp and the file system data and re-deploys all the war files that the portal1 had deployed.