Transfers data from Azure FileShare Storage to Google Cloud Storage
The Google Cloud Storage (GCS) is used to store large data from various applications.
The Azure FileShare (Azure FileShare) is very similar to GCS but from another provider (Azure).
This page shows how to transfer data from Azure FileShare to GCS.
Data transfer
Transfer of files between Azure FileShare and Google Storage is performed with the
AzureFileShareToGCSOperator
operator.
This operator has 1 required parameter:
All parameters are described in the reference documentation - AzureFileShareToGCSOperator
.
An example operator call might look like this:
sync_azure_files_with_gcs = AzureFileShareToGCSOperator(
task_id="sync_azure_files_with_gcs",
share_name=AZURE_SHARE_NAME,
dest_gcs=BUCKET_NAME,
directory_name=AZURE_DIRECTORY_NAME,
replace=False,
gzip=True,
google_impersonation_chain=None,
)
Reference
For further information, look at: