Migrating digital assets

Using the import and export feature of the IBM® Product Master, you can export items from the Digital Asset Catalog of a source company and import to the destination company.

Before you begin

  • Download the tool for upgrading Jack rabbit repositories to Oak from the following site.
    Note: You must delete the Oak upgrade JAR file after completing the asset migration.
  • If the source and destination company are on different servers, you need to manually copy the blobstore folder that is located in the $TOP/mdmui folder from the source to the destination server.
    Important: Applicable only if asset migration is performed on a destination server that has no uploaded digital assets, to avoid data loss or corruption.
  • You need to manually copy the thumbnail images that are located in the $TOP/public_html/suppliers/<companyname>/ctg_files folder from the source to the destination server.

Procedure

Proceed as follows to migrate digital assets.

  1. Add the Oak upgrade JAR file to the $TOP/mdmui/libs/dam folder of the destination server.
  2. Run the following command on the destination server to copy the binary references from the source to the destination server.
    java -jar oak-upgrade-*.jar [options] source destination
    Where the source destination is the following,
    mongodb://[username:password@]host1[:port1][/[database][?options]]

Example

Migration from a server to a server for same company
$TOP>mdmui/libs/dam > java -jar oak-upgrade-1.6.1.jar 
mongodb://[username:password@]hostname1:port1/[Company name] ?authSource=admin 
mongodb://[username:password@]hostname2:port2/[Company name] ?authSource=admin
Migration from a company to a company within same server
$TOP>mdmui /libs/dam > $TOP>mdmui/libs/dam > java -jar oak-upgrade-1.6.1.jar 
mongodb://[username:password@]hostname:port/[Company name1] ?authSource=admin 
mongodb://[username:password@]hostname:port/[Company name2] ?authSource=admin

What to do next

In the destination server, log in as a DAM user, and save the DAM user settings. You can see the imported digital assets.