1
votes

I have a Azure virtual machine ubuntu 16.04 LTS.

In the machine, I have some files which I want to upload in the Azure blob (storage). The directory in the VM where the files are stored are updated on daily basis, so in the azure blob, I need to transfer the files which comes newly to the source directory.

Can some one please suggest what are the available and best ways to achieve this.

Thanks

2
Do you want to upload the files which daily update to the Azure Storage blob?Charles Xu
@Charles Xu: Yes, daily I will have files in linux machine and that I want to upload in azure storage.2437850
I am working on the approaches and soon will share the update.2437850

2 Answers

1
votes

You could mount Blob storage as a file system with blobfuse on Linux. Another option is to use the Azcopy tool, see the Get started with AzCopy article to download AzCopy. Refer to Transfer data with AzCopy and file storage

0
votes

You can write a bash script which will upload data to the azure storage account & schedule the script execution as per required time using a cron job.
You can refer this link for a copy to storage.
You can refer this link for a schedule execution on the script