Migrating campaigns and web activities from Accelerator to Management Center

By running the marketing migration utility, you migrate existing campaign and web activity data. This migrating provides business users with the ability to use to manage all marketing objects, instead of .

Before you begin

Ensure that you review and understand the information in Overview of migrating marketing from to Version 7.

Ensure that you complete the following tasks before you run the marketing migration utility:

About this task

The marketing migration utility is a script that calls an Ant task that loads a configuration file to migrate campaign and web activity data to the database tables. Error conditions are written to standard output.

Procedure

  1. Stop the server.
  2. LinuxAIX Ensure that you run the marketing migration utility as the wasuser user. To do so, issue the following command:

    su - wasuser_IDWhere wasuser_ID is the non-root user ID. This ID must be created before you install . The default WebSphere Application Server user name is wasuser.

  3. Open a command-line utility.
  4. Run the marketing migration utility with arguments that specify the build file and the information that is needed to connect to a database in the server environment.
    • WebSphere Commerce DeveloperCall the migration script with the following command: WCDE_installdir/bin/migrateMarketing.bat
      -verbose
      Optional: Indicates that you require more logging for use when you need to debug the command.

      You can review the migrateMarketing.log file in the WCDE_installdir/logs/directory.

    • Call the migration script with the following command:
      • WindowsWC_installdir/bin/config_ant.bat -buildfile WC_installdir/migration/optional/components/component-services/subcomponents/marketing/xml/MarketingMigration.xml -DinstanceName=instance_name -DdbUserPassword=database_password -logfile logfile_path -verbose
      • LinuxAIXWC_installdir/bin/config_ant.sh -buildfile WC_installdir/migration/optional/components/component-services/subcomponents/marketing/xml/MarketingMigration.xml -DinstanceName=instance_name -DdbUserPassword=database_password -logfile logfile_path -verbose
      -buildfile
      (Mandatory) Specifies the build file to use for the migration. This parameter must be followed by the path to the migration build file as shown.
      -DinstanceName
      (Mandatory) Specifies the instance to migrate. When you use this parameter, replace instance_name with the name of the instance for which you are migrating the marketing data.
      -DdbUserPassword
      (Mandatory) Provides the password to use to connect to the database. When you use this parameter, replace database_password with the database user's password.
      -logfile
      Specifies the location of a log file. When you use this parameter, replace logfile_path with the absolute path of a file to contain logging information, for example, C:\marketingMigration.log. If you do not specify this parameter, then logging information is displayed in the console.
      -verbose
      Indicates that you require more logging for use when you need to debug the command.