This page describes how to upgrade a replication job after upgrading a Cloud Data Fusion instance . The process differs when you upgrade to version 6.6.0 and earlier.
Version 6.7.0 and later
To upgrade a replication job to version 6.7.0 or later, perform the replication job upgrade using the same steps as you would to upgrade batch pipelines .
Version 6.6.0 and earlier
To back up and upgrade the replication job to version 6.6.0 or earlier, follow these steps:
-
Get the generation ID by making an HTTP
GET()request in the Cloud Data Fusion web interface or REST API. The path is similar to the following:namespaces/ NAMESPACE_ID /apps/ REPLICATION_JOB_ID< /workers/DeltaWorkerReplace the following:
-
NAMESPACE_ID: the string name of the namespace for the replication job. If your pipeline belongs to a Basic edition instance, the ID is alwaysdefault. -
REPLICATION_JOB_ID: the string name of the replication job.
Interface
To make the HTTP
GET()request in the Cloud Data Fusion interface, follow these steps:- Go to your instance:
-
In the Google Cloud console, go to the Cloud Data Fusion page.
-
To open the instance in the Cloud Data Fusion Studio, click Instances, and then click View instance.
-
- Click System Admin > Configuration.
- Click Make HTTP calls.
- Select GETand enter the path described previously in step 2.
- Click Sendand find generation ID in the call response.
REST API
To make the
GET()request in the API, see the CDAP API reference . -
-
Back up the existing Cloud Storage directory.
-
To edit the directory in the Google Cloud console, go to the Bucketspage.
-
Click the bucket name to open the Bucket detailspage. The bucket name is the generation ID number.
The Cloud Storage bucket path in the Google Cloud console has a format similar to the following:
Buckets >
OFFSET_BASE_PATH>NAMESPACE_ID>REPLICATION_JOB_IDYou can find the bucket by the
offsetBasePathvalue for the job. To get the value, make aGET()request in Cloud Data Fusion with the following path:namespaces/ NAMESPACE_ID /apps/ REPLICATION_JOB_ID -
-
Perform the upgrade using the same steps as you would to upgrade batch pipelines .
-
The upgraded job has a new generation ID. Use the new ID as the Cloud Storage directory name.
What's next
- Learn more about Replication .
- Refer to the Replication API .

