Migrating data between Watson Speech services service instances
Use the cpd-cli
export-import commands to migrate data between Watson Speech to Text or Watson Text to Speech service instances. The service instances
can be on the same instance of IBM® Software
Hub or on
different instances of IBM Software
Hub.
- Who needs to complete this task?
- To complete this task, you must have one of the following roles on Red Hat®
OpenShift® Container Platform:
- Cluster administrator
- Instance administrator
In addition, you must have one of the following permissions in IBM Software Hub:- On the source instance
- You must have one of the following permissions on the instance of IBM Software
Hub that you want to export data from:
- Platform administration permission
- Owner or an administrator of the service instance that you want to export data from
- On the target instance
- You must have one of the following permissions on the instance of IBM Software
Hub that you want to import data to:
- Platform administration permission
- Owner or an administrator of the service instance that you want to import data to
Before you begin
Before you can export data from and import data to Watson Speech to Text or Watson Text to Speech, you must complete the following tasks:
- Creating a profile to
use the
cpd-climanagement commandsImportant: If you are migrating data between different instances of IBM Software Hub, ensure that you create a profile for each instance of IBM Software Hub that you want to connect to. - Preparing to use the IBM Software Hub export and import utility
- Initializing the export and import utility
Best practice: You can run many of the
commands in this task exactly as written if you set up environment variables for your installation.
For instructions, see Setting up installation environment variables.
Ensure that you source the environment variables before you run the commands in this task.
About this task
You can export data from and import data to one service instance at a time.
- When you run the
exportcommand, you must specify the name of the service instance that you want to export data from. - When you run the
importcommand, you must specify the name of the service instance that you want to import data to.
To view of list of the service instances that you have access to on an instance of IBM Software
Hub, run the following command:
- Watson Speech to Text service instances
-
cpd-cli service-instance list \ --profile=${CPD_PROFILE_NAME} \ --service-type=speech-to-text - Watson Text to Speech service instances
-
cpd-cli service-instance list \ --profile=${CPD_PROFILE_NAME} \ --service-type=text-to-speech
Procedure
To migrate data between Watson Speech to Text or Watson Text to Speech service instances: