The Project Clone feature enables you to quickly copy entities and configuration information from a source project to a target project within the same region. This reduces redundant development work, improves resource efficiency, and provides cold backup for disaster recovery. This topic describes the use cases, procedure, and important considerations for project cloning.
Scenarios
Type | Use case | Recommendation |
Data backup |
|
|
Resource Cloning and Sharing |
|
|
Storage or data migration |
| Storage permissions: When cloning from OSS to fully managed storage, grant read-only (including ListObject) permissions on the project-bound Bucket to |
Limits
Region limit: Cross-project cloning is supported only within the same region. Cross-region cloning is not supported.
Cloning granularity: Only projects can be cloned. Cloning an entire workspace is not supported.
Excluded items: Task orchestration, queues, permissions, and alert configurations are not cloned.
Version policy: Only the latest draft in development mode and published jobs in O&M mode are cloned. Historical versions in development mode are ignored.
Concurrent operations: One-to-one cloning only. Do not clone one source project to multiple target projects simultaneously. Do not clone multiple source projects to one target project simultaneously.
Storage compatibility: If the source workspace uses fully managed storage, the target workspace must also use fully managed storage. OSS is not allowed as a target.
Architecture compatibility: Cloning is supported only between workspaces with the same architecture. Cross-architecture cloning—for example, from x86 to ARM—is not supported.
Stateful cloning: Stateful cloning with checkpoints or savepoints is supported only for Ververica Runtime (VVR) 6.0.2 or later.
Important notes
Obtain required permissions
Ensure your account has clone permissions for the target workspace. Only the Owner role can enable cross-project migration. For details, see Grant permissions in the development console.
Cloning limits
Resource locking: You cannot modify resource configurations during cloning.
No rollback: You cannot undo a clone operation. If you stop cloning, delete the cloned resources manually.
Avoid duplicates: Cloning multiple times to the same target project creates duplicate resources.
Storage permissions: When cloning from OSS to fully managed storage, grant read-only permissions—including ListObject—to
arn:sts::1060219998962774:assumed-role/aliyunstreamasidefaultrole/refresh_token(fully managed account) on the project-bound bucket. For details, see Configure bucket policies and authorization policies.
Create snapshots manually
The system clones only the most recent snapshot or checkpoint of each job, regardless of whether the job is running, completed, or stopped. Manually trigger a snapshot before cloning to ensure the latest data is copied.
Handle duplicate entity names
The system automatically renames duplicate entities in the target project. View the renaming list in Clone history.
Update catalog names manually
Catalog names configured or referenced in jobs are not updated automatically. Edit the job code and configuration to update catalog names. Otherwise, the job fails.
Test cloned jobs
After cloning, jobs and Session clusters remain in the stopped state. Cloned jobs may not run immediately—for example, if dependency configurations are missing. Perform these steps:
Test job draft.
Verify that dependency files match expectations.
Adjust the job’s dependency configuration.
Procedure
Prepare the source project and the target workspace and project. For details, see Enable Realtime Compute for Apache Flink or Manage projects.
Clone project entities and configuration information.
Log on to the Realtime Compute Management Console.
In the More column for the workspace you want to clone, click .
Enter the clone configuration.
Select a clone space.
Select the objects to clone.
Configure the clone strategy.
Configuration
Configuration options
Description
Stateful streaming job cloning strategy
Stateful
Clone the latest snapshot or system checkpoint. This prevents reprocessing of already handled data.
Stateless
Clone only job configuration and code. Do not clone snapshots or system checkpoints.
Running streaming job cloning strategy
Skip
Automatically skip running streaming jobs during cloning. This avoids data interference caused by new states generated by the source job. Recommended for migration.
Do not skip
Clone all selected streaming jobs and their latest snapshots or system checkpoints. Recommended for backup.
Error handling strategy
Skip and continue
Log failed items and continue with the rest.
Stop cloning
Stop the entire task if any item fails to clone.
Allow stateless cloning
If stateful cloning fails, fall back to stateless cloning and continue.
Click Start clone.
Check cloning progress and completion status.
During cloning
After clicking Start clone, a message appears above the workspace list. Click View cloning progress to monitor the process. Cloning may take time. You can keep it running in the background.

After cloning completes
In the More column for the target workspace, click . Then click Details. You can view the entity types cloned, total count, and failure count. The renaming list also appears.
References
To back up SQL and DataStream jobs, see Back up a job and deploy a new job.