migrateBSpaceData command-line utility

Use the migrateBSpaceData command-line utility to migrate the Business Space data.

The migrateBSpaceData command-line utility migrates the Business Space data for an installation with the Business Space server host name specified by hostname, Business Space server port number specified by SOAP Port Number, Business Space administrative user ID specified by username, and password specified by password.

Note: In a stand-alone environment, SOAP Port Number refers to the SOAP port number of your stand-alone server, while in a network deployment environment, SOAP Port Number refers to the SOAP port number of any cluster member in the application cluster.

Syntax

migrateBSpaceData 
[options] 
-host host_name 
-port SOAP_Port_Number 
-user user_name 
-password password

Parameters

-host host_name
Required parameter that specifies the host name.
-port SOAP_Port_Number
Required parameter that specifies the SOAP port number.
-user user_name
Required parameter that specifies the administrator user name.
-password password
Required parameter that specifies the administrator password.
-server server_name
Optional parameter that specifies the server name (for migration from version 6.x) in a stand-alone environment.
-node node_name
Optional parameter that specifies the node (for migration from version 6.x) in a stand-alone environment.
-cluster cluster_name
Optional parameter that specifies the cluster (for migration from version 6.x) in an ND environment.

If there is no cluster in the ND environment, you can set this option to none. For example, -cluster none.

-dbcopy
Optional parameter that specifies that you are copying Business Space data from version 7.0.x.
-dbupgrade
Optional parameter that specifies that you are upgrading Business Space data from version 7.0.x.

Examples

If you are migrating from version 6.x, use the following examples.
  • In a stand-alone environment, to migrate Business Space data with a Business Space server host localhost, port 8880, Business Space administrative user ID admin and password admin, use one of the following commands:
    • For Linux operating systemFor UNIX operating system
      migrateBSpaceData.sh -host localhost -port 8880 -user admin -password admin -server server1 -node leoNode01 
    • For Windows operating system
      migrateBSpaceData.bat -host localhost -port 8880 -user admin -password admin -server server1 -node leoNode01 
  • In an ND environment, to migrate Business Space data with a Business Space server host localhost, port 8880, Business Space administrative user ID admin and password admin, use one of the following commands:
    • For Linux operating systemFor UNIX operating system
      migrateBSpaceData.sh -host localhost -port 8880 -user admin -password admin -cluster cluster1 
    • For Windows operating system
      migrateBSpaceData.bat -host localhost -port 8880 -user admin -password admin -cluster cluster1 

If you are migrating from version 7.0.x, use the following examples, for both stand-alone and ND environments.

  • Use the script for your operating system to copy the Business Space data from V7.0.x:
    • For Windows operating system
      migrateBSpaceData.bat -host localhost -port 8880 -user admin -password admin -dbcopy
    • For Linux operating systemFor UNIX operating system
      migrateBSpaceData.sh -host localhost -port 8880 -user admin -password admin -dbcopy
  • Use the script for your operating system to upgrade the Business Space data from V7.0.x:
    • For Windows operating system
      migrateBSpaceData.bat -host localhost -port 8880 -user admin -password admin -dbupgrade
    • For Linux operating systemFor UNIX operating system
      migrateBSpaceData.sh -host localhost -port 8880 -user admin -password admin -dbupgrade