Creating a Migration Package Using the Command Line Tool
You can create a migration package to export portal objects
from one portal to be imported into another portal.
Note: You cannot export Collaboration or Publisher objects
using the command line tool. To export those objects, use the Migration
- Export Utility in the portal. See
Creating a Migration Package in the Portal.
- Log in to the host computer for the portal as the user
who owns the portal installation.
- Use the command ptmigration.bat (for
Windows) or ./ptmigration.sh (for Unix) with
the following parameters:
./ptmigration.sh [username] [password] -export [migration
package name] [log file name] <-exportdependencies>
Where the parameters are as follows:
Parameter |
Description |
migration package name |
Required. The name and path of the migration package to be
created |
log file name |
Required. The name and path of the log file to be created.
The path to the log file must be different from that of the migration
package. |
-exportdependencies |
Optional. Use this parameter to export any additional objects
upon which the objects you are exporting depend. |
- Press ENTER.
All objects approved for migration are exported into the
migration package. The migration utility updates the migration status
in the source portal.