First, ensure all your current work is committed and pushed to the Azure DevOps repository from the source workspace.
Then you can use the built-in export function to export your entire Synapse workspace artifacts (pipelines, dataflows, datasets, linked services...).
Now you need to clone Repository for Target Workspace:
- Clone the repository linked to the source workspace.
- Create a new branch (or use an existing one) where you will push the changes intended for the target workspace.
If you encounter issues with direct JSON transfer, ensure that the JSON files are correctly configured for the target workspace, especially:
- Linked services: Update any connection strings or credentials that might differ between workspaces.
- Integration runtimes: Ensure any self-hosted integration runtimes are correctly referenced.
Import to Target Workspace:
- Push the adjusted branch to your Azure DevOps repository.
- In the target workspace, configure the workspace to connect to the correct branch of the Azure DevOps repository.
- Once the repository is connected, use the 'Publish All' feature to deploy all artifacts to the target workspace.