To migrate binary format data from on-prem SQL Server to Azure Blob Storage using Azure Data Factory (ADF), you can use a Binary dataset in the Copy activity. When using a Binary dataset, the service does not parse file content but treats it as-is. This means that the binary data in your column will be preserved in the migration process. Additionally, you can specify the file extensions you want to store in Azure Blob Storage in the Sink dataset of the Copy activity.
Here are the high-level steps to achieve this scenario:
- Create a Binary dataset in ADF that points to your on-prem SQL Server database.
- Create a Sink dataset in ADF that points to your Azure Blob Storage and specifies the file extensions you want to store.
- Create a Copy activity in ADF that uses the Binary dataset as the Source and the Sink dataset as the Sink.
- Run the Copy activity to migrate the data from on-prem SQL Server to Azure Blob Storage.
For more information on using Binary datasets in ADF, see the "Binary format in Azure Data Factory and Synapse Analytics" document. For more information on using ADF to migrate data to Azure Blob Storage, see the "Use Azure Data Factory to migrate data from Amazon S3 to Azure Storage" document.
References: